branch: externals-release/org commit dbbb93dfdf1d7a9d1549d20b9b5647ef5e5b22d6 Author: Bastien <b...@gnu.org> Commit: Bastien <b...@gnu.org>
lisp/org-table.el: Fix positioning of "#+TBLFM: * lisp/org-table.el (org-table-store-formulas): Fix positioning of "#+TBLFM:". Reported-by: tbanelwebmin <tbanelweb...@free.fr> <http://list.orgmode.org/43910853-03cb-c226-f46d-4736d0e6c...@free.fr> --- lisp/org-table.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-table.el b/lisp/org-table.el index 87d6b2f..3773b3e 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -2175,7 +2175,7 @@ LOCATION instead." (goto-char (match-beginning 3)) (delete-region (match-beginning 3) (match-end 0))) (org-indent-line) - (insert (or (match-string 2) "#+TBLFM:"))) + (insert "#+TBLFM:")) (insert " " (mapconcat (lambda (x) (concat (car x) "=" (cdr x))) (sort alist #'org-table-formula-less-p)