From: Glenn Morris Date: Sat, 2 Feb 2008 04:29:18 +0000 (+0000) Subject: (mac-keyboard-translate-char): Use characterp rather than char-valid-p. X-Git-Tag: emacs-pretest-23.0.90~8244 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=995c4be356d58148fde54de0cf5741ba06786f1c;p=emacs.git (mac-keyboard-translate-char): Use characterp rather than char-valid-p. --- diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index e9a06bbf00b..643278f9b75 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el @@ -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))