diff options
Diffstat (limited to 'lisp/ldg-complete.el')
-rw-r--r-- | lisp/ldg-complete.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/ldg-complete.el b/lisp/ldg-complete.el index 7e37163b..9d524b86 100644 --- a/lisp/ldg-complete.el +++ b/lisp/ldg-complete.el @@ -127,10 +127,9 @@ Return tree structure" (line-end-position)))) (delete-region (line-beginning-position) (line-end-position)) - (condition-case err + (condition-case nil (ledger-add-transaction text t) - ((error "ledger-complete-at-point") - (insert text)))) + (error nil))) (forward-line) (goto-char (line-end-position)) (search-backward ";" (line-beginning-position) t) |