0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 19:37:52 +00:00

org-table: Prevent formula evaluation from widening all tables

* lisp/org-table.el (org-table-recalculate): When a formula is
  evaluated, do not expand shrunk columns across the whole buffer.
This commit is contained in:
Nicolas Goaziou 2019-06-28 17:49:25 +02:00
parent 0553f2e31c
commit 7bc6f8d619

View file

@ -3356,8 +3356,7 @@ existing formula for column %s"
(user-error
"Missing columns in the table. Aborting"))))))
(org-table-eval-formula nil formula t t t t)))
;; Clean up markers and internal text property.
(remove-text-properties (point-min) (point-max) '(:org-untouchable t))
;; Clean up marker.
(set-marker end nil)))
(unless noalign
(when org-table-may-need-update (org-table-align))