summaryrefslogtreecommitdiff
path: root/lisp/ldg-complete.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-02-15 06:14:33 -0700
committerCraig Earls <enderw88@gmail.com>2013-02-15 06:14:33 -0700
commit7f0693bcdc6829aaad100c52fcb16dacd89aed62 (patch)
treebc706ce9a3196200a4248d3c7bad5d802adb0dd4 /lisp/ldg-complete.el
parent089716fb13911ea6a1c044ed5d435809f9e2fff6 (diff)
downloadfork-ledger-7f0693bcdc6829aaad100c52fcb16dacd89aed62.tar.gz
fork-ledger-7f0693bcdc6829aaad100c52fcb16dacd89aed62.tar.bz2
fork-ledger-7f0693bcdc6829aaad100c52fcb16dacd89aed62.zip
Improved error reporting
Diffstat (limited to 'lisp/ldg-complete.el')
-rw-r--r--lisp/ldg-complete.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ldg-complete.el b/lisp/ldg-complete.el
index 82046e07..1836eb2c 100644
--- a/lisp/ldg-complete.el
+++ b/lisp/ldg-complete.el
@@ -132,7 +132,7 @@ Return tree structure"
(line-end-position))
(condition-case err
(ledger-add-transaction text t)
- ((error)
+ ((error "ledger-complete-at-point")
(insert text))))
(forward-line)
(goto-char (line-end-position))