aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-09-04 05:54:38 +0000
committerRichard M. Stallman1997-09-04 05:54:38 +0000
commit87505a984f3a0da0209f3f93e09d7f97a8b9810b (patch)
treead16977faa5e2ef8bfdb17d9e876e900fed54b1b
parentf44d27ceec74e942ab04c1bd36159e0e56b08691 (diff)
downloademacs-87505a984f3a0da0209f3f93e09d7f97a8b9810b.tar.gz
emacs-87505a984f3a0da0209f3f93e09d7f97a8b9810b.zip
(read-input-method-name): Specify the input history properly.
(select-input-method): Improve prompt.
-rw-r--r--lisp/international/mule-cmds.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 0bfb3830ca3..d338ae0835b 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -448,9 +448,9 @@ The return value is a string."
448 (let* ((completion-ignore-case t) 448 (let* ((completion-ignore-case t)
449 ;; This binding is necessary because input-method-history is 449 ;; This binding is necessary because input-method-history is
450 ;; buffer local. 450 ;; buffer local.
451 (minibuffer-history input-method-history)
452 (input-method (completing-read prompt input-method-alist 451 (input-method (completing-read prompt input-method-alist
453 nil t nil nil default))) 452 nil t nil 'input-method-history
453 default)))
454 (if (> (length input-method) 0) 454 (if (> (length input-method) 0)
455 input-method 455 input-method
456 (if inhibit-null 456 (if inhibit-null
@@ -498,7 +498,7 @@ and turn it on for the current buffer."
498 (if (not enable-multibyte-characters) 498 (if (not enable-multibyte-characters)
499 (error "Can't activate an input method while multibyte characters are disabled")) 499 (error "Can't activate an input method while multibyte characters are disabled"))
500 (list (read-input-method-name 500 (list (read-input-method-name
501 (if default "Input method (default %s): " "Input method: ") 501 (if default "Select input method (default %s): " "Select input method: ")
502 default t)))) 502 default t))))
503 (activate-input-method input-method) 503 (activate-input-method input-method)
504 (setq default-input-method input-method)) 504 (setq default-input-method input-method))