diff options
| author | jao <jao@gnu.org> | 2026-09-11 00:18:56 +0100 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2026-09-11 00:18:56 +0100 |
| commit | 61b3373acccd156c808789dc32538e1ff905928e (patch) | |
| tree | 9d94f4c971b0723403d0df6b931d37794685855d /custom/jao-custom-notmuch.el | |
| parent | e9fbf597d3f51c2f98aba3c512a19c7fb9ef0850 (diff) | |
| download | elibs-61b3373acccd156c808789dc32538e1ff905928e.tar.gz elibs-61b3373acccd156c808789dc32538e1ff905928e.tar.bz2 | |
better notmuch two panes
Diffstat (limited to 'custom/jao-custom-notmuch.el')
| -rw-r--r-- | custom/jao-custom-notmuch.el | 7 |
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)) |
