From 995c4be356d58148fde54de0cf5741ba06786f1c Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 2 Feb 2008 04:29:18 +0000 Subject: [PATCH] (mac-keyboard-translate-char): Use characterp rather than char-valid-p. --- lisp/term/mac-win.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2