From: Kenichi Handa <handa@m17n.org> Date: Thu, 10 Jul 1997 06:46:42 +0000 (+0000) Subject: (read-multilingual-string): Adjusted X-Git-Tag: emacs-20.1~1234 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=88d559ecd238df8081f261602128366aa0b0b223;p=emacs.git (read-multilingual-string): Adjusted for the previous change of variables related to input methods. --- diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 2b6b968954c..3291f49e72d 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -495,11 +495,14 @@ If optional second arg INITIAL-INPUT is non-nil, insert it in the minibuffer initially. Optional 3rd argument INPUT-METHOD specifies the input method to be activated instead of the one selected last time." - (let ((default-input-method - (or input-method - default-input-method - (read-input-method-name "Input method: " nil t)))) - (let ((minibuffer-setup-hook '(toggle-input-method))) + (setq input-method + (or input-method + default-input-method + (read-input-method-name "Input method: " nil t))) + (save-excursion + (set-buffer (window-buffer (minibuffer-window))) + (let ((default-input-method input-method) + (minibuffer-setup-hook '(toggle-input-method))) (read-string prompt initial-input)))) ;; Variables to control behavior of input methods. All input methods