Simplified a call to (error) in ledger.el

This commit is contained in:
John Wiegley 2009-06-02 19:28:36 +01:00
parent c79fd9e72d
commit 9b6c946ea2

View file

@ -225,9 +225,7 @@ Return the difference in the format of a time value."
(mapcar 'eval args)))
(goto-char (point-min))
(if (looking-at "Error: ")
(progn
(message (buffer-string))
(error))
(error (buffer-string))
(buffer-string)))
"\n"))))