summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2015-01-10 18:55:10 -0700
committerCraig Earls <enderw88@gmail.com>2015-01-10 18:55:10 -0700
commitb34ad977d9fca19433bfcd87d8841874c0513823 (patch)
tree2a7d3e986d1bb9abc1bcba54a4fe32e615a86803
parent39a5b180c7beff8bd15bdba8753f3bcfad3c6bb0 (diff)
parentc98af897f728663f4144cb0df8e0f8f7991fd175 (diff)
downloadfork-ledger-b34ad977d9fca19433bfcd87d8841874c0513823.tar.gz
fork-ledger-b34ad977d9fca19433bfcd87d8841874c0513823.tar.bz2
fork-ledger-b34ad977d9fca19433bfcd87d8841874c0513823.zip
Merge pull request #368 from racktear/master
[emacs] Fontification should work independentily on where the point currently is Nice catch. This was clearly an error since beg was never used in this form.
-rw-r--r--lisp/ledger-fontify.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ledger-fontify.el b/lisp/ledger-fontify.el
index d307208f..8dbe1bd5 100644
--- a/lisp/ledger-fontify.el
+++ b/lisp/ledger-fontify.el
@@ -42,6 +42,7 @@
(save-excursion
(unless beg (setq beg (point-min)))
(unless end (setq end (point-max)))
+ (goto-char beg)
(beginning-of-line)
(while (< (point) end)
(cond ((or (looking-at ledger-xact-start-regex)