summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--custom/jao-custom-notmuch.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el
index 68a7d99..c71e6b6 100644
--- a/custom/jao-custom-notmuch.el
+++ b/custom/jao-custom-notmuch.el
@@ -485,8 +485,8 @@
(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*")
- (window-configuration-to-register ?G)
(when (< (frame-width) 230) (delete-other-windows))
(split-window-right 40)
(other-window 1)))
@@ -496,7 +496,7 @@
(defun jao-notmuch-after-tree-quit (&optional _both)
(when (not (derived-mode-p 'notmuch-tree-mode 'notmuch-hello-mode))
(jump-to-register ?G))
- (jao-notmuch-refresh-hello (= 0 (mod (cl-incf jao-notmuch--visits) 50))))
+ (jao-notmuch-refresh-hello (= 0 (mod (cl-incf jao-notmuch--visits) 5))))
(defun jao-notmuch-tree--sentinel (proc)
(when (eq (process-status proc) 'exit)