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.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el
index 86555d1..a374ebd 100644
--- a/custom/jao-custom-notmuch.el
+++ b/custom/jao-custom-notmuch.el
@@ -271,7 +271,7 @@
(defun jao-notmuch-refresh-hello (&optional agenda)
(interactive "P")
(ignore-errors
- (when (and (string= "Mail" (jao-afio-current-frame))
+ (when (and (string= "Mail" (jao-afio-frame-name))
(derived-mode-p 'notmuch-hello-mode))
(when (not (string-blank-p jao-notmuch-minibuffer-string))
(let ((notmuch-hello-auto-refresh nil)) (notmuch-hello)))