summaryrefslogtreecommitdiff
path: root/lisp/ledger-mode.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-09-05 20:12:03 -0700
committerCraig Earls <enderw88@gmail.com>2014-09-05 20:12:03 -0700
commitfec5ecb4f34bca2fbfe7f7ee5c1e99a9527db01e (patch)
treee8ea74dbec9303e38126179047c12b76e6bc12ec /lisp/ledger-mode.el
parentd3d5c333f5a379a3fe3cbbf43a1098a44ed9b1be (diff)
downloadfork-ledger-fec5ecb4f34bca2fbfe7f7ee5c1e99a9527db01e.tar.gz
fork-ledger-fec5ecb4f34bca2fbfe7f7ee5c1e99a9527db01e.tar.bz2
fork-ledger-fec5ecb4f34bca2fbfe7f7ee5c1e99a9527db01e.zip
meh. Still chugging along.
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)