Skip to content

Commit

Permalink
Make evil-read-key-key-map generation more direct
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdl89 committed Nov 6, 2023
1 parent ad80a0a commit c4f95fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evil-common.el
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ as a command. Its main use is in the `evil-read-key-map'."
(let ((map (make-sparse-keymap))
(n ?0))
(while (<= n ?9)
(define-key map (kbd (concat "<kp-" (string n) ">")) nil)
(define-key map (vector (intern (concat "kp-" (string n)))) nil)
(cl-incf n))
map)
"By default, used to exclude otherwise disabled fallbacks.")
Expand Down

0 comments on commit c4f95fd

Please sign in to comment.