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

View file

@ -258,6 +258,15 @@ Show filesize human readable.
(setq-default dired-listing-switches "-alh") (setq-default dired-listing-switches "-alh")
#+end_src #+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 * Package configuration
** General configuration ** General configuration