summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-11-08 20:22:37 +0000
committerjao <jao@gnu.org>2026-11-08 20:22:37 +0000
commit1fe6ce48699e74030da1f4b23f325e19730b6e1b (patch)
treeec4f63961bc685c574657edd0b93c93426554361
parente1847dbdb4a65b356b0f00d30a05f190058042b4 (diff)
downloadelibs-1fe6ce48699e74030da1f4b23f325e19730b6e1b.tar.gz
elibs-1fe6ce48699e74030da1f4b23f325e19730b6e1b.tar.bz2
notmuch tree faces
-rw-r--r--custom/jao-custom-notmuch.el4
-rw-r--r--init.el4
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)