forked from mirrors/org-mode
org-table: Fix formula at column insert
* lisp/org-table.el (org-table-insert-column): Fix the index. Report and fix by Yu Han Quek. https://lists.gnu.org/archive/html/emacs-orgmode/2020-03/msg00290.html TINYCHANGE
This commit is contained in:
parent
50ae73854b
commit
fe34a408f2
|
@ -1307,8 +1307,8 @@ However, when FORCE is non-nil, create new columns if necessary."
|
||||||
;; Fix TBLFM formulas, if desirable.
|
;; Fix TBLFM formulas, if desirable.
|
||||||
(when (or (not org-table-fix-formulas-confirm)
|
(when (or (not org-table-fix-formulas-confirm)
|
||||||
(funcall org-table-fix-formulas-confirm "Fix formulas? "))
|
(funcall org-table-fix-formulas-confirm "Fix formulas? "))
|
||||||
(org-table-fix-formulas "$" nil (1- col) 1)
|
(org-table-fix-formulas "$" nil col 1)
|
||||||
(org-table-fix-formulas "$LR" nil (1- col) 1))))
|
(org-table-fix-formulas "$LR" nil col 1))))
|
||||||
|
|
||||||
(defun org-table-find-dataline ()
|
(defun org-table-find-dataline ()
|
||||||
"Find a data line in the current table, which is needed for column commands.
|
"Find a data line in the current table, which is needed for column commands.
|
||||||
|
|
Loading…
Reference in New Issue