diff options
author | Craig Earls <enderw88@gmail.com> | 2014-06-30 20:40:28 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-06-30 20:40:28 -0700 |
commit | 1c6e7f410b62e7d8289992600d2f5b289a214290 (patch) | |
tree | 02f4606dd45098195461506796da701f79698198 /lisp/ledger-fonts.el | |
parent | e7ed8898725638f2ea47c9480f7ea24b0629eb83 (diff) | |
download | fork-ledger-1c6e7f410b62e7d8289992600d2f5b289a214290.tar.gz fork-ledger-1c6e7f410b62e7d8289992600d2f5b289a214290.tar.bz2 fork-ledger-1c6e7f410b62e7d8289992600d2f5b289a214290.zip |
Fix bug 1051 ledger-posting-amount-face doesn't work
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 776f0eb1..a5f24c41 100644 --- a/lisp/ledger-fonts.el +++ b/lisp/ledger-fonts.el @@ -75,6 +75,11 @@ "Face for Ledger amounts" :group 'ledger-faces) +(defface ledger-font-posting-date-face + `((t :foreground "#cb4b16" )) + "Face for Ledger dates" + :group 'ledger-faces) + (defface ledger-occur-narrowed-face `((t :foreground "grey70" :invisible t )) "Default face for Ledger occur mode hidden transactions" @@ -117,6 +122,8 @@ ;; ledger-font-other-face) (,ledger-comment-regex 0 'ledger-font-comment-face) + (,ledger-amount-regex 0 + 'ledger-font-posting-amount-face) (,ledger-multiline-comment-regex 0 'ledger-font-comment-face) (,ledger-payee-pending-regex 2 'ledger-font-payee-pending-face) ; Works |