From: Dave Love Date: Wed, 10 Sep 2003 17:52:28 +0000 (+0000) Subject: (keypad-setup): Use characterp. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1858 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9dbbce4494849ba2507d4e12ad3a1af794e6da98;p=emacs.git (keypad-setup): Use characterp. --- 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))