浏览代码

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.
Nicolas Goaziou 5 年之前
父节点
当前提交
7bc6f8d619
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      lisp/org-table.el

+ 1 - 2
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))