diff options
author | jao <jao@gnu.org> | 2022-08-28 20:55:21 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-08-28 20:56:36 +0100 |
commit | 686ff8fa2fb5b6cd655834f3af5cd234feef8918 (patch) | |
tree | 33c67bd7c2bf4f08808818e6004b9a1952dfbeae /custom | |
parent | ed3922aed913f8f42da3965fd130b3a23f7a49f0 (diff) | |
download | elibs-686ff8fa2fb5b6cd655834f3af5cd234feef8918.tar.gz elibs-686ff8fa2fb5b6cd655834f3af5cd234feef8918.tar.bz2 |
afio: option to use frames (for terminals) and cleanups galore
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))) |