]> git.eshelyaron.com Git - emacs.git/commit
Disable filtering of commands in M-x completion
authorEli Zaretskii <eliz@gnu.org>
Wed, 17 Feb 2021 16:53:54 +0000 (18:53 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 17 Feb 2021 16:53:54 +0000 (18:53 +0200)
commit927b88571cebb4f64aca360fbfa5d15a1f922ad6
tree6253d2c9397c54b4de9042fc146c8b6edda38b2e
parent0324ec17375028bd1b26a6d695535450d5a5a9c5
Disable filtering of commands in M-x completion

This makes the default behavior like it was before:
M-x completion doesn't filter out any commands.  To
have commands filtered based on their relevance to the
current buffer's modes, customize the option
'read-extended-command-predicate' to call
'command-completion-default-include-p'.
* doc/lispref/commands.texi (Interactive Call):
* doc/emacs/m-x.texi (M-x): Update the description of
'read-extended-command-predicate' and improve wording.

* etc/NEWS: Update the entry about
'read-extended-command-predicate'.

* lisp/simple.el (read-extended-command-predicate): Change default
value to nil.  Update doc string.  Add :group.
(read-extended-command): Handle nil as meaning to apply
no-filtering.
doc/emacs/m-x.texi
doc/lispref/commands.texi
etc/NEWS
lisp/simple.el