Simplified a call to (error) in ledger.el
This commit is contained in:
parent
c79fd9e72d
commit
9b6c946ea2
1 changed files with 1 additions and 3 deletions
|
|
@ -225,9 +225,7 @@ Return the difference in the format of a time value."
|
||||||
(mapcar 'eval args)))
|
(mapcar 'eval args)))
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(if (looking-at "Error: ")
|
(if (looking-at "Error: ")
|
||||||
(progn
|
(error (buffer-string))
|
||||||
(message (buffer-string))
|
|
||||||
(error))
|
|
||||||
(buffer-string)))
|
(buffer-string)))
|
||||||
"\n"))))
|
"\n"))))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue