summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-notmuch.el
diff options
context:
space:
mode:
Diffstat (limited to 'custom/jao-custom-notmuch.el')
-rw-r--r--custom/jao-custom-notmuch.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el
index 7315e7c..8b8cd58 100644
--- a/custom/jao-custom-notmuch.el
+++ b/custom/jao-custom-notmuch.el
@@ -560,9 +560,10 @@
(defun jao-notmuch-before-tree (&rest _args)
(window-configuration-to-register ?G)
(when (string= (buffer-name) "*notmuch-hello*")
- (when (< (frame-width) 230) (delete-other-windows))
- (split-window-right 40)
- (other-window 1)))
+ (when (< (frame-width) 120)
+ (delete-other-windows)
+ (split-window-right 40)
+ (other-window 1))))
(defun jao-notmuch-after-tree-quit (&optional _both)
(when (not (derived-mode-p 'notmuch-tree-mode 'notmuch-hello-mode))