From 686ff8fa2fb5b6cd655834f3af5cd234feef8918 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 28 Aug 2022 20:55:21 +0100 Subject: afio: option to use frames (for terminals) and cleanups galore --- custom/jao-custom-completion.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'custom/jao-custom-completion.el') 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))))) -- cgit v1.2.3