(quail-show-kbd-layout): Bug fix for the
authorKenichi Handa <handa@m17n.org>
Thu, 22 Jan 1998 01:42:20 +0000 (01:42 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 22 Jan 1998 01:42:20 +0000 (01:42 +0000)
case that TRANSLATION is a cons.

lisp/international/quail.el

index 69b968a..69b8982 100644 (file)
@@ -1869,7 +1869,7 @@ key               binding
            (if (integerp translation)
                (insert translation)
              (if (consp translation)
-                 (insert (aref (cdr translation) (car translation)))
+                 (insert (aref (cdr translation) (car (car translation))))
                (let ((last-command-event ch))
                  (self-insert-command 1)))))))
       (setq i (1+ i))))