summaryrefslogtreecommitdiff
path: root/lisp/ledger-fonts.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-11-07 18:19:57 -0700
committerCraig Earls <enderw88@gmail.com>2014-11-07 18:19:57 -0700
commit1bd67755fa3127d80b7534d15f1f9de1b477c19a (patch)
tree7173c72aac2eed11a1315c903efe09ea3039ca04 /lisp/ledger-fonts.el
parenta66001382cd68c1d989bbe4ced629cc87370a4ce (diff)
downloadfork-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.el7
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"