fix(org): respect org-table-automatic-realign
Co-authored-by: efim <efim.nefedov@nordigy.ru>
This commit is contained in:
parent
eb65ef169b
commit
02bb28dc82
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ re-align the table if necessary. (Necessary because org-mode has a
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +org-realign-table-maybe-h ()
|
(defun +org-realign-table-maybe-h ()
|
||||||
"Auto-align table under cursor."
|
"Auto-align table under cursor."
|
||||||
(when (and (org-at-table-p) org-table-may-need-update)
|
(when (and org-table-automatic-realign (org-at-table-p) org-table-may-need-update)
|
||||||
(let ((pt (point))
|
(let ((pt (point))
|
||||||
(inhibit-message t))
|
(inhibit-message t))
|
||||||
(if org-table-may-need-update (org-table-align))
|
(if org-table-may-need-update (org-table-align))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue