diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/jao-custom-completion.el | 3 | ||||
-rw-r--r-- | custom/jao-custom-notmuch.el | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el index 0c67fbb..0682b44 100644 --- a/custom/jao-custom-completion.el +++ b/custom/jao-custom-completion.el @@ -273,8 +273,7 @@ (defun jao-consult-initial-narrow () (when-let (c (cond ((eq this-command #'consult-buffer) - (cdr (assoc (jao-afio-current-frame) - jao-consult-narrow))) + (cdr (assoc (jao-afio-frame-name) jao-consult-narrow))) ((eq this-command #'consult-mode-command) ?m))) (setq unread-command-events (append unread-command-events `(,c 32))))) 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))) |