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.
This commit is contained in:
Craig Earls 2015-01-10 18:55:10 -07:00
commit b34ad977d9

View file

@ -42,6 +42,7 @@
(save-excursion (save-excursion
(unless beg (setq beg (point-min))) (unless beg (setq beg (point-min)))
(unless end (setq end (point-max))) (unless end (setq end (point-max)))
(goto-char beg)
(beginning-of-line) (beginning-of-line)
(while (< (point) end) (while (< (point) end)
(cond ((or (looking-at ledger-xact-start-regex) (cond ((or (looking-at ledger-xact-start-regex)