summaryrefslogtreecommitdiff
path: root/lisp/emulation/keypad.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2003-09-10 17:52:28 +0000
committerDave Love <fx@gnu.org>2003-09-10 17:52:28 +0000
commit9dbbce4494849ba2507d4e12ad3a1af794e6da98 (patch)
treef7762e5b398ba33e9cd6af8db8dd958a0d5e817b /lisp/emulation/keypad.el
parent8bd3a3ad230a308d36ac766d2edba58ff43db6ae (diff)
downloademacs-9dbbce4494849ba2507d4e12ad3a1af794e6da98.tar.gz
(keypad-setup): Use characterp.
Diffstat (limited to 'lisp/emulation/keypad.el')
-rw-r--r--lisp/emulation/keypad.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emulation/keypad.el b/lisp/emulation/keypad.el
index 69dc8a3d3b0..47c9fead294 100644
--- a/lisp/emulation/keypad.el
+++ b/lisp/emulation/keypad.el
@@ -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))