From: Lars Ingebrigtsen Date: Sun, 14 Feb 2021 21:57:19 +0000 (+0100) Subject: Add a comment to `read-extended-command' X-Git-Tag: emacs-28.0.90~3729 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=58b9e84a3188837b9a4d45ecccc20bb9f259e278;p=emacs.git Add a comment to `read-extended-command' * lisp/simple.el (read-extended-command): Add a comment. --- diff --git a/lisp/simple.el b/lisp/simple.el index a547417d7ef..44a9c4dc985 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))))