aboutsummaryrefslogtreecommitdiffstats
path: root/oni-core.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-08-06 00:11:17 -0700
committerGravatar Tom Willemse2023-08-06 00:11:17 -0700
commitd934aef413017a21127c84bf3aaa5426bf645a6b (patch)
treea9b6e1c0e7e28d47867db8f88ee8b2f4d74850ba /oni-core.el
parente7acc034ee178cdc08f848bd7ddea54dbcb833e9 (diff)
downloademacs-config-d934aef413017a21127c84bf3aaa5426bf645a6b.tar.gz
emacs-config-d934aef413017a21127c84bf3aaa5426bf645a6b.zip
[oni-core] Only show relevant commands for the current mode
Diffstat (limited to 'oni-core.el')
-rw-r--r--oni-core.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/oni-core.el b/oni-core.el
index 6b198d1..d73f157 100644
--- a/oni-core.el
+++ b/oni-core.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2023.0806.000329
+;; Version: 2023.0806.001105
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr mini-frame)
;; This program is free software; you can redistribute it and/or modify
@@ -373,6 +373,8 @@ _s_: String list"
(setq minibuffer-prompt-properties
(append '(cursor-intangible t) minibuffer-prompt-properties))
+(setq read-extended-command-predicate 'command-completion-default-include-p)
+
;;; Vertico
(vertico-mode)