diff options
-rw-r--r-- | lisp/ledger-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ledger-mode.el b/lisp/ledger-mode.el index 73258da4..0e8ad088 100644 --- a/lisp/ledger-mode.el +++ b/lisp/ledger-mode.el @@ -329,7 +329,8 @@ With a prefix argument, remove the effective date. " ;; (font-lock-fontify-buffer-function . ledger-fontify-whole-buffer) ;; (font-lock-fontify-region-function . ledger-fontify-buffer-part))) - (setq-local font-lock-defaults `(,ledger-font-lock-keywords nil t)) + (setq-local font-lock-defaults `(,ledger-font-lock-keywords nil t nil nil + (font-lock-fontify-buffer-function . ledger-fontify-whole-buffer))) (setq-local indent-region-function 'ledger-post-align-postings)) |