✨ Hide commands in M-x that don't work in the current mode
This commit is contained in:
parent
fa7024e33d
commit
e54698d048
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue