emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7b447956d8: ; Improve doc string of 'read-extended-command'


From: Eli Zaretskii
Subject: master 7b447956d8: ; Improve doc string of 'read-extended-command'
Date: Tue, 26 Jul 2022 14:28:23 -0400 (EDT)

branch: master
commit 7b447956d870d6fbe27cb7c2432c8154ab786c99
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Improve doc string of 'read-extended-command'
    
    * lisp/simple.el (read-extended-command-mode)
    (read-extended-command): Doc fixes.
---
 lisp/simple.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lisp/simple.el b/lisp/simple.el
index e4fdb61076..2ef8a3cf00 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2234,15 +2234,15 @@ This is used by the 
\\<minibuffer-local-must-match-map>\\[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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]