]> git.eshelyaron.com Git - emacs.git/commitdiff
(mac-keyboard-translate-char): Use characterp rather than char-valid-p.
authorGlenn Morris <rgm@gnu.org>
Sat, 2 Feb 2008 04:29:18 +0000 (04:29 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 2 Feb 2008 04:29:18 +0000 (04:29 +0000)
lisp/term/mac-win.el

index e9a06bbf00bdb3721c8b4fcd9b643fdd3ea65793..643278f9b757625b67b02940024d63019d3ec3f0 100644 (file)
@@ -2077,7 +2077,7 @@ the echo area or in a buffer where the cursor is not displayed."
    ""))
 
 (defun mac-keyboard-translate-char (ch)
-  (if (and (char-valid-p ch)
+  (if (and (characterp ch)
           (or (char-table-p keyboard-translate-table)
               (and (or (stringp keyboard-translate-table)
                        (vectorp keyboard-translate-table))