]> git.eshelyaron.com Git - emacs.git/commitdiff
(quail-translate-key): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Tue, 15 Jul 1997 08:24:47 +0000 (08:24 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 15 Jul 1997 08:24:47 +0000 (08:24 +0000)
lisp/international/quail.el

index 6632730c2adb42baa5723ff99689aabd265adab1..89a42a025af30c896b8f6cc7909fa8b1973be7d1 100644 (file)
@@ -1165,7 +1165,9 @@ sequence counting from the head."
             ;; Then, return the length of "...AB".
             (- len 2))
 
-           ((and quail-current-translations
+           ((and (> len 0)
+                 (quail-lookup-key (substring quail-current-key 0 -1))
+                 quail-current-translations
                  (not (quail-deterministic))
                  (setq ch (aref quail-current-key (1- len)))
                  (>= ch ?0) (<= ch ?9))