summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2019-06-28 17:49:25 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-06-28 17:49:25 +0200
commit7bc6f8d61964be4f090e90535022d8ed03fe775a (patch)
tree15177acdb6bd8cf02159bf3722baf33d0329875c
parent0553f2e31c64fb1551d9d95bbf4a2355de8914fb (diff)
downloadorg-mode-7bc6f8d61964be4f090e90535022d8ed03fe775a.tar.gz
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.
-rw-r--r--lisp/org-table.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el
index e141e48..fe8e789 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -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))