summaryrefslogtreecommitdiff
path: root/lisp/ldg-xact.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-02-20 16:13:27 -0700
committerCraig Earls <enderw88@gmail.com>2013-02-20 16:13:27 -0700
commitf54c15bdf575377383923d368f5de2b5e56a7669 (patch)
tree7955e89d9d2f33ec520c53917047752bdbe7d519 /lisp/ldg-xact.el
parentc7dd499a737ba7eb2bb7321d0b9c148a38d0d8d5 (diff)
downloadfork-ledger-f54c15bdf575377383923d368f5de2b5e56a7669.tar.gz
fork-ledger-f54c15bdf575377383923d368f5de2b5e56a7669.tar.bz2
fork-ledger-f54c15bdf575377383923d368f5de2b5e56a7669.zip
Bug 884. Highlight first line of file
Diffstat (limited to 'lisp/ldg-xact.el')
-rw-r--r--lisp/ldg-xact.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ldg-xact.el b/lisp/ldg-xact.el
index 94a58542..f5a38ef6 100644
--- a/lisp/ldg-xact.el
+++ b/lisp/ldg-xact.el
@@ -42,7 +42,8 @@ within the transaction."
(let ((end-pos pos)
(beg-pos pos))
(backward-paragraph)
- (forward-line)
+ (if (/= (point) (point-min))
+ (forward-line))
(beginning-of-line)
(setq beg-pos (point))
(forward-paragraph)