diff options
author | Philip Kaludercic <philipk@posteo.net> | 2022-12-17 15:54:40 +0100 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2022-12-18 12:45:22 +0100 |
commit | d1e0542f33610b965a10b988717bf5fd8ac64165 (patch) | |
tree | f927f9961efec7dd1779af3ad5c56b0391612939 /lisp/windmove.el | |
parent | c2375e77914f5b72abe1b43e554d36b045af1b06 (diff) | |
download | emacs-d1e0542f33610b965a10b988717bf5fd8ac64165.tar.gz emacs-d1e0542f33610b965a10b988717bf5fd8ac64165.tar.bz2 emacs-d1e0542f33610b965a10b988717bf5fd8ac64165.zip |
Allow customising windmove user options with an empty prefix
* lisp/windmove.el (windmove--default-keybindings-type): Handle nil
as a prefix value. (Bug#60161)
Diffstat (limited to 'lisp/windmove.el')
-rw-r--r-- | lisp/windmove.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/windmove.el b/lisp/windmove.el index 00e76df0a01..4311f082de6 100644 --- a/lisp/windmove.el +++ b/lisp/windmove.el @@ -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' |