From 1bd67755fa3127d80b7534d15f1f9de1b477c19a Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Fri, 7 Nov 2014 18:19:57 -0700 Subject: Improve finding boundaries of elements for fontification. Also added P for price directives. --- lisp/ledger-fonts.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lisp/ledger-fonts.el') diff --git a/lisp/ledger-fonts.el b/lisp/ledger-fonts.el index f8ca3fa6..99927315 100644 --- a/lisp/ledger-fonts.el +++ b/lisp/ledger-fonts.el @@ -70,6 +70,8 @@ "Default face for pending (!) payees" :group 'ledger-faces) + + (defface ledger-font-xact-highlight-face `((t :inherit ledger-occur-xact-face)) "Default face for transaction under point" @@ -95,6 +97,11 @@ "Default face for other transactions" :group 'ledger-faces) +(defface ledger-font-price-directive-face + `((t :inherit ledger-font-directive-face)) + "Default face for other transactions" + :group 'ledger-faces) + (defface ledger-font-apply-directive-face `((t :inherit ledger-font-directive-face)) "Default face for other transactions" -- cgit v1.2.3