projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2375e7
)
Allow customising windmove user options with an empty prefix
author
Philip Kaludercic
<philipk@posteo.net>
Sat, 17 Dec 2022 14:54:40 +0000
(15:54 +0100)
committer
Philip Kaludercic
<philipk@posteo.net>
Sun, 18 Dec 2022 11:45:22 +0000
(12:45 +0100)
* lisp/windmove.el (windmove--default-keybindings-type): Handle nil
as a prefix value. (Bug#60161)
lisp/windmove.el
patch
|
blob
|
history
diff --git
a/lisp/windmove.el
b/lisp/windmove.el
index 00e76df0a019a7f25877e3f96d542cb413e1562e..4311f082de67a910204f47dc46b1ae56f1168018 100644
(file)
--- 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'