(quail-translate-key): Update quail-current-str correctly.
authorKenichi Handa <handa@m17n.org>
Mon, 21 Jul 2003 07:17:51 +0000 (07:17 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 21 Jul 2003 07:17:51 +0000 (07:17 +0000)
lisp/ChangeLog
lisp/international/quail.el

index 394b52d..ee9338d 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-21  Kenichi Handa  <handa@m17n.org>
+
+       * international/quail.el (quail-translate-key): Update
+       quail-current-str correctly.
+
 2003-07-21  Andreas Schwab  <schwab@suse.de>
 
        * progmodes/sh-script.el (sh-mode-syntax-table): Change syntax of
index 187a753..db7c53b 100644 (file)
@@ -1692,6 +1692,9 @@ sequence counting from the head."
 
            (t
             ;; No way to handle the last character in this context.
+            (setq def (quail-map-definition
+                       (quail-lookup-key quail-current-key (1- len))))
+            (setq quail-current-str (quail-get-current-str (1- len) def))
             (1- len))))))
 
 (defun quail-next-translation ()