]> git.eshelyaron.com Git - emacs.git/commitdiff
(prin1-char): Use eventp.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 11 May 2004 03:17:59 +0000 (03:17 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 11 May 2004 03:17:59 +0000 (03:17 +0000)
lisp/emacs-lisp/lisp-mode.el

index 853498b0c8c0d9beaf2b0a600fad26c9625776f8..4057fe2968e52c5c8ed056d76f3622280bb0f794 100644 (file)
@@ -448,7 +448,7 @@ alternative printed representations that can be displayed."
   "Return a string representing CHAR as a character rather than as an integer.
 If CHAR is not a character, return nil."
   (and (integerp char)
-       (char-valid-p (event-basic-type char))
+       (eventp char)
        (let ((c (event-basic-type char)))
         (concat
          "?"