branch: externals/consult
commit 9399a808c90eb42826c03b9f6aa6f519a957a981
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Add vc-refresh-state to consult-preview-excluded-hooks
---
 consult.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/consult.el b/consult.el
index 113a72d..ce6c76b 100644
--- a/consult.el
+++ b/consult.el
@@ -294,7 +294,9 @@ command options."
   :type 'integer)
 
 (defcustom consult-preview-excluded-hooks
-  '(epa-file-find-file-hook recentf-track-opened-file)
+  '(epa-file-find-file-hook
+    recentf-track-opened-file
+    vc-refresh-state)
   "List of `find-file' hooks, which should not be executed during file preview.
 In particular we don't want to modify the list of recent files and we
 don't want to see epa password prompts."

Reply via email to