]> git.eshelyaron.com Git - emacs.git/commitdiff
(quail-hangul-switch-back): Call
authorKenichi Handa <handa@m17n.org>
Mon, 18 Aug 1997 10:54:31 +0000 (10:54 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 18 Aug 1997 10:54:31 +0000 (10:54 +0000)
activate-input-method instead of select-input-method.
Use input-method-history instead of previous-input-method.

leim/quail/symbol-ksc.el

index 7caeb5284c32dc5f233fcac7e97c9f9b1a9dbb02..108af45e04de5119ddc7125f02741e7952b33be7 100644 (file)
 (require 'quail)
 
 (defun quail-hangul-switch-back (key idx)
-  (if (not previous-input-method)
+  (if (not input-method-history
       (toggle-input-method t)
     (quail-delete-region)
-    (select-input-method previous-input-method))
+    (activate-input-method (car input-method-history))
   (throw 'quail-tag nil))
 
 (quail-define-package