From 60071afc7effd8c51f457b5bf165d6668fce7fe8 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 18 Aug 1997 10:54:31 +0000 Subject: [PATCH] (quail-hangul-switch-back): Call activate-input-method instead of select-input-method. Use input-method-history instead of previous-input-method. --- leim/quail/symbol-ksc.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/leim/quail/symbol-ksc.el b/leim/quail/symbol-ksc.el index 7caeb5284c3..108af45e04d 100644 --- a/leim/quail/symbol-ksc.el +++ b/leim/quail/symbol-ksc.el @@ -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 -- 2.39.5