1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(keypad-setup): Use characterp.

This commit is contained in:
Dave Love 2003-09-10 17:52:28 +00:00
parent 8bd3a3ad23
commit 9dbbce4494

View file

@ -233,7 +233,7 @@ the decimal key on the keypad is mapped to DECIMAL instead of `.'"
(bind
(cond
((or (eq setup 'numeric)
(char-valid-p setup))
(characterp setup))
(if (eq decimal 'numeric)
(setq decimal nil))
(vector (or decimal ?.) ?0 ?1 ?2 ?3 ?4 ?5 ?6 ?7 ?8 ?9))