Skip to content

Commit

Permalink
Fix "Invalid preview key" message in minibuffer
Browse files Browse the repository at this point in the history
The consult-customize function will now report a message when
using (kbd ...) as a value for the :preview-key.

See doomemacs/doomemacs#7064
See
purcell/emacs.d@289a748
  • Loading branch information
mrcnski committed Feb 14, 2023
1 parent cb9bb73 commit 9f5b416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
:preview-key '(:debounce 0.2 any)
consult-bookmark consult-recent-file consult-xref
consult--source-recent-file consult--source-project-recent-file consult--source-bookmark
:preview-key (kbd "M-.")
:preview-key "M-."
)

;; Optionally configure the narrowing key.
Expand Down

0 comments on commit 9f5b416

Please sign in to comment.