Skip to content

Commit 19a7f76

Browse files
authored
Fix definition of `boon-command-map' (#142)
`set-keymap-parent' returns the parent keymap, `boon-moves-map' in this case. Before this fix, keys not bound in `boon-command-map' and `boon-moves-map' ended up calling `self-insert-command'. I.e. `suppress-keymap' had no effect.
1 parent 9e00672 commit 19a7f76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

boon-core.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727

2828
(defvar boon-command-map (let ((map (make-sparse-keymap)))
2929
(suppress-keymap map 't)
30-
(set-keymap-parent map boon-moves-map))
30+
(set-keymap-parent map boon-moves-map)
31+
map)
3132
"Keymap used in Boon command mode.
3233
\\{boon-command-map}")
3334

0 commit comments

Comments
 (0)