Align table before converting it to a table.el table
* lisp/org-table.el (org-table-create-with-table.el): Align table before converting.
This commit is contained in:
parent
4ea5658a1a
commit
ce58d6dd0a
|
@ -369,8 +369,9 @@ and table.el tables."
|
|||
(if (y-or-n-p "Convert table to Org-mode table? ")
|
||||
(org-table-convert)))
|
||||
((org-at-table-p)
|
||||
(if (y-or-n-p "Convert table to table.el table? ")
|
||||
(org-table-convert)))
|
||||
(when (y-or-n-p "Convert table to table.el table? ")
|
||||
(org-table-align)
|
||||
(org-table-convert)))
|
||||
(t (call-interactively 'table-insert))))
|
||||
|
||||
(defun org-table-create-or-convert-from-region (arg)
|
||||
|
|
Loading…
Reference in New Issue