]> git.eshelyaron.com Git - emacs.git/commitdiff
Add a comment to `read-extended-command'
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 14 Feb 2021 21:57:19 +0000 (22:57 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 14 Feb 2021 21:57:38 +0000 (22:57 +0100)
* lisp/simple.el (read-extended-command): Add a comment.

lisp/simple.el

index a547417d7efd93971243f4db92105d400b63bee5..44a9c4dc985c98f068b236472e6770a47df80211 100644 (file)
@@ -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))))