summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)