aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Dalziel <tom_dl@hotmail.com>2023-11-06 12:13:54 +0000
committerTom Dalziel <tom_dl@hotmail.com>2023-11-06 12:13:54 +0000
commitc4f95fd9ec284a8284405f84102bfdb74f0ee22f (patch)
tree224ad30827dd34d62d7032e65dacbbe2beea523b
parentad80a0a185ba1b28d19813e55acabb9d38419657 (diff)
Make evil-read-key-key-map generation more direct
-rw-r--r--evil-common.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-common.el b/evil-common.el
index bc5e282..985fdb3 100644
--- a/evil-common.el
+++ b/evil-common.el
@@ -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.")