diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-11-02 19:49:32 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-11-02 19:49:32 +0200 |
commit | 3e8cdc404fb884f0be473fe2785c3b041c1129fd (patch) | |
tree | 29a46a58ef85d4dccc7c308bca988cac583ec41d /lisp/international | |
parent | 49b6e2716c385f2a6d696cdc2d000ffa6f111f79 (diff) | |
download | emacs-3e8cdc404fb884f0be473fe2785c3b041c1129fd.tar.gz |
Improve documentation of a recent commit
* lisp/international/mule-cmds.el (transient-input-method): Doc
fix. Add :version tag.
(transient-input-method): Doc fix.
* etc/NEWS:
* doc/emacs/mule.texi (Select Input Method): Fix wording of the
last change.
Diffstat (limited to 'lisp/international')
-rw-r--r-- | lisp/international/mule-cmds.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index c5a01451637..dc435d9b170 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -1347,13 +1347,14 @@ This is the input method activated automatically by the command (defcustom transient-input-method nil "Default transient input method. -This is the input method activated automatically by the command +This is the input method activated by the command `transient-input-method' (\\[transient-input-method])." :link '(custom-manual "(emacs)Input Methods") :group 'mule :type '(choice (const nil) mule-input-method-string) - :set-after '(current-language-environment)) + :set-after '(current-language-environment) + :version "28.1") (put 'input-method-function 'permanent-local t) @@ -1531,7 +1532,8 @@ To deactivate it programmatically, use `deactivate-input-method'." "Non-nil inside `toggle-input-method'.") (defun transient-input-method (&optional arg interactive) - "Enable transient input method for the current buffer." + "Enable a transient input method for the current buffer. +If `transient-input-method' was not yet defined, prompt for it." (interactive "P\np") (when (or arg (not transient-input-method)) (let* ((default (or (car input-method-history) default-input-method)) |