[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico 07ecea8 3/3: Document the chosen hook priority
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico 07ecea8 3/3: Document the chosen hook priority |
Date: |
Sat, 10 Jul 2021 13:57:19 -0400 (EDT) |
branch: externals/vertico
commit 07ecea8889903756224d3dbf4f18235f1289200b
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Document the chosen hook priority
---
vertico.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/vertico.el b/vertico.el
index 58798b4..49922e6 100644
--- a/vertico.el
+++ b/vertico.el
@@ -701,6 +701,9 @@ When the prefix argument is 0, the group order is reset."
completion-auto-help nil
completion-show-inline-help nil)
(use-local-map vertico-map)
+ ;; Use -90 to ensure that the exhibit hook runs early such that the
+ ;; candidates are available for Consult preview. It works, but besides
+ ;; that I'dont have a specific reason for this particular value.
(add-hook 'post-command-hook #'vertico--exhibit -90 'local))
(defun vertico--advice (orig &rest args)