diff options
| author | Richard M. Stallman | 2001-02-14 15:30:19 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-02-14 15:30:19 +0000 |
| commit | f8ec20be1e14cc0e8470b17262d1389f8ea16e9e (patch) | |
| tree | 55892a616e404043a6f59ea291ba5092c17b7a65 | |
| parent | 92e98d636a00ee3bd18429c9e0b3a709d5acb09e (diff) | |
| download | emacs-f8ec20be1e14cc0e8470b17262d1389f8ea16e9e.tar.gz emacs-f8ec20be1e14cc0e8470b17262d1389f8ea16e9e.zip | |
(toggle-input-method): Doc fix.
| -rw-r--r-- | lisp/international/mule-cmds.el | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 78d940c7ba3..d3516b39cc2 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -1095,18 +1095,20 @@ To deactivate it programmatically, use \\[inactivate-input-method]." | |||
| 1095 | (setq default-input-method input-method)) | 1095 | (setq default-input-method input-method)) |
| 1096 | 1096 | ||
| 1097 | (defun toggle-input-method (&optional arg) | 1097 | (defun toggle-input-method (&optional arg) |
| 1098 | "Turn on or off a multilingual text input method for the current buffer. | 1098 | "Enable or disable multilingual text input method for the current buffer. |
| 1099 | 1099 | Only one input method can be enabled at any time in a given buffer. | |
| 1100 | With no prefix argument, if an input method is currently activated, | 1100 | |
| 1101 | turn it off. Otherwise, activate an input method -- the one most | 1101 | The normal action is to enable an input method if none was |
| 1102 | recently used, or the one specified in `default-input-method', or | 1102 | enabled, and disable the current one otherwise. Which input method |
| 1103 | the one read from the minibuffer. | 1103 | to enable can be determined in various ways--either the one most |
| 1104 | 1104 | recently used, or the one specified by `default-input-method', or | |
| 1105 | With a prefix argument, read an input method from the minibuffer and | 1105 | as a last resort by reading the name of an input method in the |
| 1106 | turn it on. | 1106 | minibuffer. |
| 1107 | 1107 | ||
| 1108 | The default is to use the most recent input method specified | 1108 | With a prefix argument, read an input method name with the minibuffer |
| 1109 | and enable that one. The default is the most recent input method specified | ||
| 1109 | \(not including the currently active input method, if any)." | 1110 | \(not including the currently active input method, if any)." |
| 1111 | |||
| 1110 | (interactive "P") | 1112 | (interactive "P") |
| 1111 | (if (and current-input-method (not arg)) | 1113 | (if (and current-input-method (not arg)) |
| 1112 | (inactivate-input-method) | 1114 | (inactivate-input-method) |