Only realign tables in +org-realign-table-maybe-h
Don't recalculate formulas.
This commit is contained in:
parent
006eee75d0
commit
41606f5369
2 changed files with 20 additions and 16 deletions
|
@ -46,11 +46,10 @@ re-align the table if necessary. (Necessary because org-mode has a
|
|||
|
||||
;;;###autoload
|
||||
(defun +org-realign-table-maybe-h ()
|
||||
"Auto-align table under cursor and re-calculate formulas."
|
||||
"Auto-align table under cursor."
|
||||
(when (and (org-at-table-p) org-table-may-need-update)
|
||||
(let ((pt (point))
|
||||
(inhibit-message t))
|
||||
(org-table-recalculate)
|
||||
(if org-table-may-need-update (org-table-align))
|
||||
(goto-char pt))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue