diff options
| author | Kenichi Handa | 1997-07-10 06:46:42 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-07-10 06:46:42 +0000 |
| commit | 88d559ecd238df8081f261602128366aa0b0b223 (patch) | |
| tree | f8779829f04a7e1eb925faa597c8793903fb8da3 | |
| parent | 0ef161c40a4ffd0d81d2921129403bea8f8fcc2a (diff) | |
| download | emacs-88d559ecd238df8081f261602128366aa0b0b223.tar.gz emacs-88d559ecd238df8081f261602128366aa0b0b223.zip | |
(read-multilingual-string): Adjusted
for the previous change of variables related to input methods.
| -rw-r--r-- | lisp/international/mule-cmds.el | 13 |
1 files changed, 8 insertions, 5 deletions
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 | |||
| 495 | initially. | 495 | initially. |
| 496 | Optional 3rd argument INPUT-METHOD specifies the input method | 496 | Optional 3rd argument INPUT-METHOD specifies the input method |
| 497 | to be activated instead of the one selected last time." | 497 | to be activated instead of the one selected last time." |
| 498 | (let ((default-input-method | 498 | (setq input-method |
| 499 | (or input-method | 499 | (or input-method |
| 500 | default-input-method | 500 | default-input-method |
| 501 | (read-input-method-name "Input method: " nil t)))) | 501 | (read-input-method-name "Input method: " nil t))) |
| 502 | (let ((minibuffer-setup-hook '(toggle-input-method))) | 502 | (save-excursion |
| 503 | (set-buffer (window-buffer (minibuffer-window))) | ||
| 504 | (let ((default-input-method input-method) | ||
| 505 | (minibuffer-setup-hook '(toggle-input-method))) | ||
| 503 | (read-string prompt initial-input)))) | 506 | (read-string prompt initial-input)))) |
| 504 | 507 | ||
| 505 | ;; Variables to control behavior of input methods. All input methods | 508 | ;; Variables to control behavior of input methods. All input methods |