]> code.delx.au - gnu-emacs/blobdiff - lisp/subr.el
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
[gnu-emacs] / lisp / subr.el
index b9e7786cfe4fe479f71e8b709e73b1e805786410..0c0152a85b8e9b84ddab41063e33d40a1b477f79 100644 (file)
@@ -553,7 +553,7 @@ The normal global definition of the character C-x indirects to this keymap.")
           ;; Filter out integers too large to be events.
           ;; M is the biggest modifier.
           (zerop (logand obj (lognot (1- (lsh ?\M-\^@ 1)))))
-          (char-valid-p (event-basic-type obj)))
+          (characterp (event-basic-type obj)))
       (and (symbolp obj)
           (get obj 'event-symbol-elements))
       (and (consp obj)