From: Eli Zaretskii Date: Tue, 26 Jul 2022 18:27:39 +0000 (+0300) Subject: ; Improve doc string of 'read-extended-command' X-Git-Tag: emacs-29.0.90~1447^2~739 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7b447956d870d6fbe27cb7c2432c8154ab786c99;p=emacs.git ; Improve doc string of 'read-extended-command' * lisp/simple.el (read-extended-command-mode) (read-extended-command): Doc fixes. --- diff --git a/lisp/simple.el b/lisp/simple.el index e4fdb610764..2ef8a3cf003 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2234,15 +2234,15 @@ This is used by the \\\\[execute-extended-comma "M-X" #'execute-extended-command-cycle) (define-minor-mode read-extended-command-mode - "Minor mode when doing completion in `read-extended-command'.") + "Minor mode used for completion in `read-extended-command'.") (defun read-extended-command (&optional prompt) - "Read command name to invoke in `execute-extended-command'. -This function uses the `read-extended-command-predicate' user -option. + "Read command name to invoke via `execute-extended-command'. +Use `read-extended-command-predicate' to determine which commands +to include among completion candidates. -When reading the command name, the `read-extended-command-mode' -minor mode is activated." +This function activates the `read-extended-command-mode' minor +mode when reading the command name." (let ((default-predicate read-extended-command-predicate) (read-extended-command-predicate read-extended-command-predicate) already-typed ret)