summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2022-09-03 14:48:36 -0400
committerKyle Meyer <kyle@kyleam.com>2022-11-26 21:45:14 -0500
commit7b1c321f65a74fa226f29e7f40a9cbfb6ae8dc7c (patch)
treeb64a771b41a07cb2d94bac5fb53cc3bfd076bcda
parent600a79b6409f73a4a46b685672c00c375c525ac5 (diff)
downloademacs.d-7b1c321f65a74fa226f29e7f40a9cbfb6ae8dc7c.tar.gz
ledger-mode: Restore font lock
Looks like Modus themes now cover this.
-rw-r--r--init.el10
1 files changed, 0 insertions, 10 deletions
diff --git a/init.el b/init.el
index 26ab849..38d9fa0 100644
--- a/init.el
+++ b/init.el
@@ -1729,16 +1729,6 @@
(use-package ledger-mode
:init
- (and (boundp 'font-lock-global-modes)
- (pcase font-lock-global-modes
- ('t
- (setq font-lock-global-modes '(not ledger-mode)))
- (`(not . ,_)
- (add-to-list 'font-lock-global-modes 'ledger-mode t))
- (`(,_ . ,_)
- (setq font-lock-global-modes
- (delq 'ledger-mode font-lock-global-modes)))))
-
(bind-keys :map km/ledger-prefix-map
("a" . km/ledger-insert-account)
("p" . km/ledger-insert-payee))