summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2024-03-31 00:32:41 +0000
committerjao <jao@gnu.org>2024-03-31 00:32:41 +0000
commit1e5f59d9abebf33a6e3b94fb3df628600268373f (patch)
tree80b6e71bed865497a3e528df4f171629d3afb802 /custom
parent7e08beab24d792f254956c682542e23fd4b54858 (diff)
downloadelibs-1e5f59d9abebf33a6e3b94fb3df628600268373f.tar.gz
elibs-1e5f59d9abebf33a6e3b94fb3df628600268373f.tar.bz2
nits
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-notmuch.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el
index 47fe63a..2a48e3b 100644
--- a/custom/jao-custom-notmuch.el
+++ b/custom/jao-custom-notmuch.el
@@ -266,7 +266,7 @@
(defun jao-notmuch-refresh-agenda ()
(interactive)
- (save-window-excursion (jao-org-agenda)))
+ (save-window-excursion (calendar) (jao-org-agenda)))
(defun jao-notmuch-hello-first ()
(interactive)
@@ -282,9 +282,7 @@
(when (not (string-blank-p jao-notmuch-minibuffer-string))
(let ((notmuch-hello-auto-refresh nil)) (notmuch-hello)))
(let ((jao-minibuffer-inhibit t))
- (save-window-excursion
- (calendar)
- (when agenda (jao-org-agenda))))
+ (when agenda (jao-notmuch-refresh-agenda)))
(unless (widget-at) (jao-notmuch-hello-first))
(jao-minibuffer-refresh))))