diff options
author | Craig Earls <enderw88@gmail.com> | 2014-11-07 18:19:57 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-11-07 18:19:57 -0700 |
commit | 1bd67755fa3127d80b7534d15f1f9de1b477c19a (patch) | |
tree | 7173c72aac2eed11a1315c903efe09ea3039ca04 /lisp/ledger-fonts.el | |
parent | a66001382cd68c1d989bbe4ced629cc87370a4ce (diff) | |
download | fork-ledger-1bd67755fa3127d80b7534d15f1f9de1b477c19a.tar.gz fork-ledger-1bd67755fa3127d80b7534d15f1f9de1b477c19a.tar.bz2 fork-ledger-1bd67755fa3127d80b7534d15f1f9de1b477c19a.zip |
Improve finding boundaries of elements for fontification. Also added P for price directives.
Diffstat (limited to 'lisp/ledger-fonts.el')
-rw-r--r-- | lisp/ledger-fonts.el | 7 |
1 files changed, 7 insertions, 0 deletions
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" |