Hide commands in M-x that don't work in the current mode

This commit is contained in:
Marcel Kapfer 2023-01-03 16:28:09 +01:00
parent fa7024e33d
commit e54698d048
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 9 additions and 0 deletions

View File

@ -258,6 +258,15 @@ Show filesize human readable.
(setq-default dired-listing-switches "-alh")
#+end_src
** M-x customizations
Hide commands in M-x which do not work in the current mode.
#+begin_src emacs-lisp
(setq read-extended-command-predicate
#'command-completion-default-include-p)
#+end_src
* Package configuration
** General configuration