diff options
| author | Tom Dalziel <tom_dl@hotmail.com> | 2023-11-06 12:13:54 +0000 |
|---|---|---|
| committer | Tom Dalziel <tom_dl@hotmail.com> | 2023-11-06 12:13:54 +0000 |
| commit | c4f95fd9ec284a8284405f84102bfdb74f0ee22f (patch) | |
| tree | 224ad30827dd34d62d7032e65dacbbe2beea523b | |
| parent | ad80a0a185ba1b28d19813e55acabb9d38419657 (diff) | |
Make evil-read-key-key-map generation more direct
| -rw-r--r-- | evil-common.el | 2 |
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.") |
