summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-completion.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-28 20:55:21 +0100
committerjao <jao@gnu.org>2022-08-28 20:56:36 +0100
commit686ff8fa2fb5b6cd655834f3af5cd234feef8918 (patch)
tree33c67bd7c2bf4f08808818e6004b9a1952dfbeae /custom/jao-custom-completion.el
parented3922aed913f8f42da3965fd130b3a23f7a49f0 (diff)
downloadelibs-686ff8fa2fb5b6cd655834f3af5cd234feef8918.tar.gz
elibs-686ff8fa2fb5b6cd655834f3af5cd234feef8918.tar.bz2
afio: option to use frames (for terminals) and cleanups galore
Diffstat (limited to 'custom/jao-custom-completion.el')
-rw-r--r--custom/jao-custom-completion.el3
1 files changed, 1 insertions, 2 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)))))