changeset 24864:21f620ad347e

(describe-current-input-method): Current-input-method is string. (toggle-input-method): Docstring fixed.
author Kenichi Handa <handa@m17n.org>
date Thu, 17 Jun 1999 12:11:46 +0000
parents de94a8394d25
children a4b8bb7bed21
files lisp/international/mule-cmds.el
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Thu Jun 17 08:45:30 1999 +0000
+++ b/lisp/international/mule-cmds.el	Thu Jun 17 12:11:46 1999 +0000
@@ -952,16 +952,16 @@
 (defun toggle-input-method (&optional arg)
   "Turn on or off a multilingual text input method for the current buffer.
 
-With no prefix argument, if some input method is currently activated,
-turn it off.  Otherwise, activate an input method--the one most recently used,
-or the one specified in `default-input-method', or one read from the
-minibuffer.
+With no prefix argument, if an input method is currently activated,
+turn it off.  Otherwise, activate an input method -- the one most
+recently used, or the one specified in `default-input-method', or
+the one read from the minibuffer.
 
-With a prefix arg, read an input method from minibuffer and turn it on.
-The default is the most recent input method specified
-\(not including the currently active input method, if any).
+With a prefix argument, read an input method from the minibuffer and
+turn it on.
 
-When there's no input method to turn on, turn on what read from minibuffer."
+The default is to use the most recent input method specified
+\(not including the currently active input method, if any)."
   (interactive "P")
   (if (and current-input-method (not arg))
       (inactivate-input-method)
@@ -1000,7 +1000,7 @@
 	       (fboundp describe-current-input-method-function))
 	  (funcall describe-current-input-method-function)
 	(message "No way to describe the current input method `%s'"
-		 (cdr current-input-method))
+		 current-input-method)
 	(ding))
     (error "No input method is activated now")))