emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vertico f48679b 10/10: Remove Consult integration, whic


From: Protesilaos Stavrou
Subject: [elpa] externals/vertico f48679b 10/10: Remove Consult integration, which has been moved to Consult
Date: Fri, 9 Apr 2021 10:48:30 -0400 (EDT)

branch: externals/vertico
commit f48679b31b28ca309abbdc796922ecdc28eee1e0
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Remove Consult integration, which has been moved to Consult
---
 vertico.el | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/vertico.el b/vertico.el
index 9b978ff..6df65fc 100644
--- a/vertico.el
+++ b/vertico.el
@@ -525,19 +525,5 @@
     (advice-remove #'completing-read-default #'vertico--advice)
     (advice-remove #'completing-read-multiple #'vertico--advice)))
 
-(defun vertico--consult-candidate ()
-  "Return current candidate for Consult preview."
-  (and vertico--input (vertico--candidate)))
-
-(defun vertico--consult-refresh ()
-  "Refresh completion UI, used by Consult async/narrowing."
-  (when vertico--input
-    (setq vertico--input t)
-    (vertico--exhibit)))
-
-(with-eval-after-load 'consult
-  (add-hook 'consult--completion-candidate-hook #'vertico--consult-candidate)
-  (add-hook 'consult--completion-refresh-hook #'vertico--consult-refresh))
-
 (provide 'vertico)
 ;;; vertico.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]