From 1fe6ce48699e74030da1f4b23f325e19730b6e1b Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 8 Nov 2026 20:22:37 +0000 Subject: notmuch tree faces --- custom/jao-custom-notmuch.el | 4 ---- 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*") diff --git a/init.el b/init.el index 0851954..71b9bbd 100644 --- a/init.el +++ b/init.el @@ -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) -- cgit v1.2.3