1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

Allow customising windmove user options with an empty prefix

* lisp/windmove.el (windmove--default-keybindings-type): Handle nil
as a prefix value.  (Bug#60161)
This commit is contained in:
Philip Kaludercic 2022-12-17 15:54:40 +01:00
parent c2375e7791
commit d1e0542f33

View File

@ -776,7 +776,8 @@ Default value of MODIFIERS is `shift-super'."
(defconst windmove--default-keybindings-type
`(choice (const :tag "Don't bind" nil)
(cons :tag "Bind using"
(key-sequence :tag "Prefix")
(choice (key-sequence :tag "Prefix")
(const :tag "No Prefix" nil))
(set :tag "Modifier"
:greedy t
;; See `(elisp) Keyboard Events'