From 1c6e7f410b62e7d8289992600d2f5b289a214290 Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Mon, 30 Jun 2014 20:40:28 -0700 Subject: [PATCH] Fix bug 1051 ledger-posting-amount-face doesn't work --- lisp/ledger-fonts.el | 7 +++++++ 1 file changed, 7 insertions(+) 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