changeset 19410:a29c7e9a53c8

(quail-hangul-switch-back): Call activate-input-method instead of select-input-method. Use input-method-history instead of previous-input-method.
author Kenichi Handa <handa@m17n.org>
date Mon, 18 Aug 1997 10:54:31 +0000
parents c816908e9589
children ae9924361448
files leim/quail/symbol-ksc.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/leim/quail/symbol-ksc.el	Mon Aug 18 10:54:31 1997 +0000
+++ b/leim/quail/symbol-ksc.el	Mon Aug 18 10:54:31 1997 +0000
@@ -32,10 +32,10 @@
 (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