diff options
Diffstat (limited to 'notmuch.org')
-rw-r--r-- | notmuch.org | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/notmuch.org b/notmuch.org index 89b30fb..f4756f8 100644 --- a/notmuch.org +++ b/notmuch.org @@ -451,6 +451,13 @@ (funcall (if ext browse-url-secondary-browser-function #'browse-url) url))) + (defun jao-notmuch-adjust-tree-fonts (&optional family) + (let ((fg (face-attribute 'jao-themes-dimm :foreground)) + (family (or family "Source Code Pro"))) + (dolist (f '(notmuch-tree-match-tree-face + notmuch-tree-no-match-tree-face)) + (set-face-attribute f nil :family family :foreground fg)))) + (use-package notmuch-tree :init (setq notmuch-tree-result-format @@ -473,10 +480,8 @@ :config - (let ((fg (face-attribute 'jao-themes-dimm :foreground))) - (dolist (f '(notmuch-tree-match-tree-face - notmuch-tree-no-match-tree-face)) - (set-face-attribute f nil :family "Source Code Pro" :foreground fg))) + (when (string-prefix-p "Hack" jao-themes-default-face) + (jao-notmuch-adjust-tree-fonts)) (jao-notmuch-tree-setup "T") |