Skip to content

Commit f2fdd59

Browse files
committed
fix: use emacs 28 compatible keymap binding
1 parent 90a8a2a commit f2fdd59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

enkan-repl.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,7 @@ Category: Command Palette"
14831483
"Build a sparse keymap from BINDINGS of (KEY . COMMAND)."
14841484
(let ((m (make-sparse-keymap)))
14851485
(dolist (kv bindings)
1486-
(keymap-set m (car kv) (cdr kv)))
1486+
(define-key m (kbd (car kv)) (cdr kv)))
14871487
m))
14881488

14891489
;; Store original keybindings for safe restoration

0 commit comments

Comments
 (0)