summaryrefslogtreecommitdiff
path: root/lisp/ledger-fontify.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ledger-fontify.el')
-rw-r--r--lisp/ledger-fontify.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ledger-fontify.el b/lisp/ledger-fontify.el
index ea873d91..d307208f 100644
--- a/lisp/ledger-fontify.el
+++ b/lisp/ledger-fontify.el
@@ -28,7 +28,9 @@
;;; Code:
-(provide 'ledger-fontify)
+(require 'ledger-navigate)
+(require 'ledger-regex)
+(require 'ledger-state)
(defcustom ledger-fontify-xact-state-overrides nil
"If t the highlight entire xact with state."
@@ -50,7 +52,7 @@
(ledger-navigate-next-xact-or-directive))))
(defun ledger-fontify-xact-at (position)
- "Fontify the xact at POS."
+ "Fontify the xact at POSITION."
(interactive "d")
(save-excursion
(goto-char position)
@@ -191,4 +193,7 @@ Fontify the first line of an xact"
"Set the text in EXTENTS to FACE."
(put-text-property (car extents) (cadr extents) 'face face))
+
+(provide 'ledger-fontify)
+
;;; ledger-fontify.el ends here