changeset 36083:e9191d28ed86

(toggle-input-method): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Wed, 14 Feb 2001 15:30:19 +0000
parents 28eec8406e22
children 9e6b7bdede16
files lisp/international/mule-cmds.el
diffstat 1 files changed, 11 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Wed Feb 14 15:29:59 2001 +0000
+++ b/lisp/international/mule-cmds.el	Wed Feb 14 15:30:19 2001 +0000
@@ -1095,18 +1095,20 @@
   (setq default-input-method input-method))
 
 (defun toggle-input-method (&optional arg)
-  "Turn on or off a multilingual text input method for the current buffer.
+  "Enable or disable multilingual text input method for the current buffer.
+Only one input method can be enabled at any time in a given buffer.
 
-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.
+The normal action is to enable an input method if none was
+enabled, and disable the current one otherwise.  Which input method
+to enable can be determined in various ways--either the one most
+recently used, or the one specified by `default-input-method', or
+as a last resort by reading the name of an input method in the
+minibuffer.
 
-With a prefix argument, read an input method from the minibuffer and
-turn it on.
+With a prefix argument, read an input method name with the minibuffer
+and enable that one.  The default is the most recent input method specified
+\(not including the currently active input method, if any)."
 
-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)