diff options
| author | Glenn Morris | 2008-02-02 04:29:18 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-02-02 04:29:18 +0000 |
| commit | 995c4be356d58148fde54de0cf5741ba06786f1c (patch) | |
| tree | 50afe1cf532d2e02b0d91287eff4bba5f7cdcaa0 | |
| parent | 5cba760134787f7e7e139a68c789b85e90d81ec9 (diff) | |
| download | emacs-995c4be356d58148fde54de0cf5741ba06786f1c.tar.gz emacs-995c4be356d58148fde54de0cf5741ba06786f1c.zip | |
(mac-keyboard-translate-char): Use characterp rather than char-valid-p.
| -rw-r--r-- | lisp/term/mac-win.el | 2 |
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." | |||
| 2077 | "")) | 2077 | "")) |
| 2078 | 2078 | ||
| 2079 | (defun mac-keyboard-translate-char (ch) | 2079 | (defun mac-keyboard-translate-char (ch) |
| 2080 | (if (and (char-valid-p ch) | 2080 | (if (and (characterp ch) |
| 2081 | (or (char-table-p keyboard-translate-table) | 2081 | (or (char-table-p keyboard-translate-table) |
| 2082 | (and (or (stringp keyboard-translate-table) | 2082 | (and (or (stringp keyboard-translate-table) |
| 2083 | (vectorp keyboard-translate-table)) | 2083 | (vectorp keyboard-translate-table)) |