summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2026-01-05 18:35:08 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2026-01-05 18:35:57 +0100
commitc524ed908bac3fb685343355804e89b87a528bce (patch)
tree64701e5787c41220a3420a0f4b57217690f61070
parent4a71080bd9b8cd9804a45c07129f0fb03c4ebdfc (diff)
Use a priority of 10
This way local hooks can be installed before and after corfu-auto--post-command.
-rw-r--r--corfu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/corfu.el b/corfu.el
index 12b2905..4552da7 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1370,7 +1370,7 @@ Quit if no candidate is selected."
(corfu-mode
(when corfu-auto
(require 'corfu-auto)
- (add-hook 'post-command-hook 'corfu-auto--post-command 1 'local))
+ (add-hook 'post-command-hook 'corfu-auto--post-command 10 'local))
(setq-local completion-in-region-function #'corfu--in-region))
(t
(remove-hook 'post-command-hook 'corfu-auto--post-command 'local)