From 7534c226c13d744a619a0a0c5dfbaaf08a3bfdf1 Mon Sep 17 00:00:00 2001 From: Charles Celerier Date: Mon, 13 Feb 2023 14:15:48 +0000 Subject: [PATCH] [minibuffer] Fix "Invalid preview key" message in minibuffer The consult-customize function will now report a message when using (kbd ...) as a value for the :preview-key. See https://github.com/doomemacs/doomemacs/issues/7064. --- lisp/init-minibuffer.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/init-minibuffer.el b/lisp/init-minibuffer.el index 3f933da..aca7a3a 100644 --- a/lisp/init-minibuffer.el +++ b/lisp/init-minibuffer.el @@ -14,7 +14,7 @@ (when (maybe-require-package 'consult) (defmacro sanityinc/no-consult-preview (&rest cmds) `(with-eval-after-load 'consult - (consult-customize ,@cmds :preview-key (kbd "M-P")))) + (consult-customize ,@cmds :preview-key "M-P"))) (sanityinc/no-consult-preview consult-ripgrep