diff options
author | Craig Earls <enderw88@gmail.com> | 2015-09-28 17:37:21 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2015-09-28 17:37:21 -0700 |
commit | 64426842a34f0517e43a47a404cd15c764f1c7f2 (patch) | |
tree | dd64c6837cb54ebef6b6de412097eb7646733aa6 /lisp/ledger-post.el | |
parent | 4dec0e3829e0d5b9da798265cc60a3feedd57f88 (diff) | |
parent | 767ab3e39c8dd6024c0904370654e5f0a9e24b2d (diff) | |
download | fork-ledger-64426842a34f0517e43a47a404cd15c764f1c7f2.tar.gz fork-ledger-64426842a34f0517e43a47a404cd15c764f1c7f2.tar.bz2 fork-ledger-64426842a34f0517e43a47a404cd15c764f1c7f2.zip |
Merge pull request #434 from Fuco1/align-on-decimal
Align amounts on the decimal separator.
Thank you.
Diffstat (limited to 'lisp/ledger-post.el')
-rw-r--r-- | lisp/ledger-post.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ledger-post.el b/lisp/ledger-post.el index 5696d0e4..d741442a 100644 --- a/lisp/ledger-post.el +++ b/lisp/ledger-post.el @@ -79,8 +79,7 @@ point at beginning of the commodity." (when (re-search-forward ledger-amount-regex end t) (goto-char (match-beginning 0)) (skip-syntax-forward " ") - (- (or (match-end 4) - (match-end 3)) (point))))) + (- (match-end 3) (point))))) (defun ledger-next-account (&optional end) "Move to the beginning of the posting, or status marker, limit to END. |