diff options
| author | jao <jao@gnu.org> | 2026-11-08 20:22:37 +0000 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2026-11-08 20:22:37 +0000 |
| commit | 1fe6ce48699e74030da1f4b23f325e19730b6e1b (patch) | |
| tree | ec4f63961bc685c574657edd0b93c93426554361 | |
| parent | e1847dbdb4a65b356b0f00d30a05f190058042b4 (diff) | |
| download | elibs-1fe6ce48699e74030da1f4b23f325e19730b6e1b.tar.gz elibs-1fe6ce48699e74030da1f4b23f325e19730b6e1b.tar.bz2 | |
notmuch tree faces
| -rw-r--r-- | custom/jao-custom-notmuch.el | 4 | ||||
| -rw-r--r-- | init.el | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el index 5d44c24..27292be 100644 --- a/custom/jao-custom-notmuch.el +++ b/custom/jao-custom-notmuch.el @@ -443,10 +443,6 @@ notmuch-tree-outline-open-on-next t) :config - (when (display-graphic-p) - (jao-notmuch-adjust-tree-fonts - (when (string-prefix-p "Hack" jao-themes-default-face) "Source Code Pro"))) - (defun jao-notmuch-before-tree (&rest _args) (window-configuration-to-register ?G) (when (string= (buffer-name) "*notmuch-hello*") @@ -376,7 +376,9 @@ (window-system 'jao-light) (t 'jao-light-term)))) (load-theme theme t) - (modify-all-frames-parameters `((font . ,jao-themes-default-face))))) + (modify-all-frames-parameters `((font . ,jao-themes-default-face))) + (when (fboundp 'jao-notmuch-adjust-tree-fonts) + (jao-notmuch-adjust-tree-fonts "Source Code Pro")))) (add-hook 'after-init-hook #'jao-themes-setup) |
