changeset 91441:6cdf5d4140a1

(mac-keyboard-translate-char): Use characterp rather than char-valid-p.
author Glenn Morris <rgm@gnu.org>
date Sat, 02 Feb 2008 04:29:18 +0000
parents 43e659e97106
children aefc429431cf
files lisp/term/mac-win.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/term/mac-win.el	Sat Feb 02 04:28:47 2008 +0000
+++ b/lisp/term/mac-win.el	Sat Feb 02 04:29:18 2008 +0000
@@ -2077,7 +2077,7 @@
    ""))
 
 (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))