From 61b3373acccd156c808789dc32538e1ff905928e Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 11 Sep 2026 00:18:56 +0100 Subject: better notmuch two panes --- custom/jao-custom-notmuch.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'custom/jao-custom-notmuch.el') 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)) -- cgit v1.2.3