summaryrefslogtreecommitdiff
path: root/lisp/ldg-post.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ldg-post.el')
-rw-r--r--lisp/ldg-post.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/ldg-post.el b/lisp/ldg-post.el
index ff664b1d..7b6ac9d5 100644
--- a/lisp/ldg-post.el
+++ b/lisp/ldg-post.el
@@ -158,7 +158,7 @@ This is done so that the last digit falls in COLUMN, which defaults to 52."
(goto-char (line-beginning-position))
(when (re-search-forward ledger-post-line-regexp (line-end-position) t)
(goto-char (match-end ledger-regex-post-line-group-account)) ;go to the and of the account
- (let ((end-of-amount (re-search-forward "[-.,0-9]+" (line-end-position) t))) ;determine if the is an amount to edit
+ (let ((end-of-amount (re-search-forward "[-.,0-9]+" (line-end-position) t))) ;determine if there is an amount to edit
(if end-of-amount
(let ((val (match-string 0)))
(goto-char (match-beginning 0))
@@ -171,8 +171,7 @@ This is done so that the last digit falls in COLUMN, which defaults to 52."
(if (search-backward " " (- (point) 3) t)
(goto-char (line-end-position))
(insert " "))
- (calc))
- ))))
+ (calc))))))
(defun ledger-post-prev-xact ()
(interactive)