From 58b9e84a3188837b9a4d45ecccc20bb9f259e278 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 14 Feb 2021 22:57:19 +0100 Subject: [PATCH] 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 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)))) -- 2.39.2