diff options
author | Craig Earls <enderw88@gmail.com> | 2014-11-11 19:54:43 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-11-11 19:54:43 -0700 |
commit | a3f3aa304fcfb19fc716c5eaf33a6e152bb3aa71 (patch) | |
tree | ec3c8cd1d61b19c69ed50137a20e4c42eeb24a4c /lisp/ledger-navigate.el | |
parent | e54d7392bfafa51e657f92ee1a1feb68f7f2b123 (diff) | |
download | ledger-a3f3aa304fcfb19fc716c5eaf33a6e152bb3aa71.tar.gz ledger-a3f3aa304fcfb19fc716c5eaf33a6e152bb3aa71.tar.bz2 ledger-a3f3aa304fcfb19fc716c5eaf33a6e152bb3aa71.zip |
Smash a bug that cause the status on a posting with no amount to bleed into the next line.
Diffstat (limited to 'lisp/ledger-navigate.el')
-rw-r--r-- | lisp/ledger-navigate.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ledger-navigate.el b/lisp/ledger-navigate.el index 97a545b3..d4e70984 100644 --- a/lisp/ledger-navigate.el +++ b/lisp/ledger-navigate.el @@ -65,7 +65,7 @@ beginning with whitespace" (interactive) ;; need to start at the beginning of a line incase we are in the first line of an xact already. (beginning-of-line) - (let ((sreg (concat "\\(~\\|" ledger-iso-date-regexp "\\)"))) + (let ((sreg (concat "^\\(~\\|" ledger-iso-date-regexp "\\)"))) (unless (looking-at sreg) (re-search-backward sreg nil t) (beginning-of-line))) |