summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-11-09 10:02:03 -0700
committerCraig Earls <enderw88@gmail.com>2014-11-09 10:02:03 -0700
commite54d7392bfafa51e657f92ee1a1feb68f7f2b123 (patch)
tree44611fb1291f65b4479da54e25e96b7ef485b9bc /lisp
parent2ef1c092100d53ad2882a59b9668cd183226c28f (diff)
downloadfork-ledger-e54d7392bfafa51e657f92ee1a1feb68f7f2b123.tar.gz
fork-ledger-e54d7392bfafa51e657f92ee1a1feb68f7f2b123.tar.bz2
fork-ledger-e54d7392bfafa51e657f92ee1a1feb68f7f2b123.zip
Add 1 to the end of region for single line directives. This will force the layout to show across the entire buffer.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ledger-navigate.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ledger-navigate.el b/lisp/ledger-navigate.el
index 5bc18373..97a545b3 100644
--- a/lisp/ledger-navigate.el
+++ b/lisp/ledger-navigate.el
@@ -98,7 +98,7 @@ Requires empty line separating xacts."
(let ((begin (progn (beginning-of-line)
(point)))
(end (progn (end-of-line)
- (point))))
+ (+ 1 (point)))))
;; handle block comments here
(beginning-of-line)
(if (looking-at " *;")