]> code.delx.au - gnu-emacs/blobdiff - lisp/emulation/keypad.el
Merge from emacs--devo--0
[gnu-emacs] / lisp / emulation / keypad.el
index 78cba6c0ca623dbb3e288146603830ea431ab794..565caf2368c5d8bab517383c0e69ba4456dcad6b 100644 (file)
@@ -234,7 +234,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))