summaryrefslogtreecommitdiff
path: root/lisp/term/mac-win.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-02-02 04:29:18 +0000
committerGlenn Morris <rgm@gnu.org>2008-02-02 04:29:18 +0000
commit995c4be356d58148fde54de0cf5741ba06786f1c (patch)
tree50afe1cf532d2e02b0d91287eff4bba5f7cdcaa0 /lisp/term/mac-win.el
parent5cba760134787f7e7e139a68c789b85e90d81ec9 (diff)
downloademacs-995c4be356d58148fde54de0cf5741ba06786f1c.tar.gz
(mac-keyboard-translate-char): Use characterp rather than char-valid-p.
Diffstat (limited to 'lisp/term/mac-win.el')
-rw-r--r--lisp/term/mac-win.el2
1 files changed, 1 insertions, 1 deletions
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))