(keypad-setup): Use characterp.
authorDave Love <fx@gnu.org>
Wed, 10 Sep 2003 17:52:28 +0000 (17:52 +0000)
committerDave Love <fx@gnu.org>
Wed, 10 Sep 2003 17:52:28 +0000 (17:52 +0000)
lisp/emulation/keypad.el

index 69dc8a3..47c9fea 100644 (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))