emacs-diffs
[Top][All Lists]
Advanced

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

master 58b9e84: Add a comment to `read-extended-command'


From: Lars Ingebrigtsen
Subject: master 58b9e84: Add a comment to `read-extended-command'
Date: Sun, 14 Feb 2021 16:57:45 -0500 (EST)

branch: master
commit 58b9e84a3188837b9a4d45ecccc20bb9f259e278
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Add a comment to `read-extended-command'
    
    * lisp/simple.el (read-extended-command): Add a comment.
---
 lisp/simple.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/simple.el b/lisp/simple.el
index a547417..44a9c4d 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1966,6 +1966,9 @@ This function uses the `read-extended-command-predicate' 
user option."
            (complete-with-action action obarray string pred)))
        (lambda (sym)
          (and (commandp sym)
+              ;;; FIXME: This should also be possible to disable by
+              ;;; the user, but I'm not quite sure what the right
+              ;;; design for that would look like.
               (if (get sym 'completion-predicate)
                   (funcall (get sym 'completion-predicate) sym buffer)
                 (funcall read-extended-command-predicate sym buffer))))



reply via email to

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