mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-25 07:27:57 +00:00
fix a stray "user-error" introduced in bd89d6a02f
* lisp/org-table.el (org-table-eval-formula): The condition-case to check for must be "error", not "user-error". This fixes these test failures: 4 unexpected results: FAILED test-org-table/references/format-specifier-E FAILED test-org-table/references/format-specifier-EL FAILED test-org-table/references/format-specifier-L FAILED test-org-table/references/format-specifier-none Reported in: http://permalink.gmane.org/gmane.emacs.orgmode/67450 http://permalink.gmane.org/gmane.emacs.orgmode/67503
This commit is contained in:
parent
8f40d7f7a1
commit
e541a1dd19
@ -2705,7 +2705,7 @@ not overwrite the stored one."
|
||||
(if lispp
|
||||
(setq ev (condition-case nil
|
||||
(eval (eval (read form)))
|
||||
(user-error "#ERROR"))
|
||||
(error "#ERROR"))
|
||||
ev (if (numberp ev) (number-to-string ev) ev)
|
||||
ev (if duration (org-table-time-seconds-to-string
|
||||
(string-to-number ev)
|
||||
|
Loading…
Reference in New Issue
Block a user