mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-04 05:13:07 +00:00
* org-table.el (org-calc-current-TBLFM): Ensure to remove the currently inserted TBLFM line, when calling `org-table-recalculate' returns an error and the processing stops. * testing/lisp/test-org-table.el: Add test. When you hit =C-c C-c= at the line of "#+TBLFM: $2=$1*2::$2=$1**2" in | 1 | | | 2 | | #+TBLFM: $2=$1*1 #+TBLFM: $2=$1*2::$2=$1**2 you got: | 1 | | | 2 | | #+TBLFM: $2=$1*2::$2=$1**2 #+TBLFM: $2=$1*1 #+TBLFM: $2=$1*2::$2=$1**2 with the error message of: user-error: Double definition `$2=' in TBLFM line, please fix by hand In this case, you expected: | 1 | | | 2 | | #+TBLFM: $2=$1*1 #+TBLFM: $2=$1*2::$2=$1**2 |
||
---|---|---|
.. | ||
test-ob-awk.el | ||
test-ob-C.el | ||
test-ob-emacs-lisp.el | ||
test-ob-exp.el | ||
test-ob-fortran.el | ||
test-ob-lilypond.el | ||
test-ob-lob.el | ||
test-ob-maxima.el | ||
test-ob-octave.el | ||
test-ob-perl.el | ||
test-ob-python.el | ||
test-ob-R.el | ||
test-ob-sh.el | ||
test-ob-table.el | ||
test-ob-tangle.el | ||
test-ob.el | ||
test-org-clock.el | ||
test-org-element.el | ||
test-org-footnote.el | ||
test-org-list.el | ||
test-org-macro.el | ||
test-org-open-at-point.el | ||
test-org-src.el | ||
test-org-table.el | ||
test-org.el | ||
test-ox.el | ||
test-property-inheritance.el |