changeset 48184:a3de797dd9f6

(quail-input-string-to-events): Use keyboard-translate-table, not translation-table-for-input.
author Dave Love <fx@gnu.org>
date Wed, 06 Nov 2002 23:36:10 +0000
parents 06be0e8df068
children e1a35caa141d
files lisp/international/quail.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/quail.el	Wed Nov 06 23:34:58 2002 +0000
+++ b/lisp/international/quail.el	Wed Nov 06 23:36:10 2002 +0000
@@ -1279,9 +1279,11 @@
   (let* ((events (mapcar
 		  (lambda (c)
 		    ;; This gives us the chance to unify on input
-		    ;; (e.g. using ucs-tables.el).
-		    (or (and translation-table-for-input
-			     (aref translation-table-for-input c))
+		    ;; (e.g. using ucs-tables.el).  Fixme: The result
+		    ;; of Quail input doesn't currently go through
+		    ;; `keyboard-translate-table'.
+		    (or (and (char-table-p keyboard-translate-table)
+			     (aref keyboard-translate-table c))
 			c))
 		  str))
 	 (len (length str))