summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-04-13 10:20:01 +0200
committerAlan Pearce2023-04-14 18:05:49 +0200
commit76522f2150c32e3bdd88e963b9a93620c8ae7a0e (patch)
treedcf6a63558ac32d8c51ce153fcdacf34e4b0fa19 /user
parent47d22f977ac751ce56dc7068de76dd1502d3957c (diff)
downloadnixfiles-76522f2150c32e3bdd88e963b9a93620c8ae7a0e.tar.lz
nixfiles-76522f2150c32e3bdd88e963b9a93620c8ae7a0e.tar.zst
nixfiles-76522f2150c32e3bdd88e963b9a93620c8ae7a0e.zip
emacs: reduce number of commands present in `M-x` menu
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index ce1e5eea..6e0dac50 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -204,7 +204,8 @@ With two prefix arguments, write out the day and month name."
 
 (setq enable-recursive-minibuffers t
       save-silently t
-      uniquify-buffer-name-style 'forward)
+      uniquify-buffer-name-style 'forward
+      read-extended-command-predicate #'command-completion-default-include-p)
 (minibuffer-depth-indicate-mode t)
 
 (use-package hydra