summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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)