summaryrefslogtreecommitdiff
path: root/lisp/ledger-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ledger-mode.el')
-rw-r--r--lisp/ledger-mode.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/ledger-mode.el b/lisp/ledger-mode.el
index 0e8ad088..46b7e677 100644
--- a/lisp/ledger-mode.el
+++ b/lisp/ledger-mode.el
@@ -329,10 +329,11 @@ 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 nil nil
- (font-lock-fontify-buffer-function . ledger-fontify-whole-buffer)))
+ ;; (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))
+ (setq-local indent-region-function 'ledger-post-align-postings)
+ (ledger-fontify-activate))
(defun ledger-set-year (newyear)