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

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

[elpa] externals/vertico 69fd917 09/10: Remove Embark integration, which


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

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

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

diff --git a/vertico.el b/vertico.el
index 769d1d1..9b978ff 100644
--- a/vertico.el
+++ b/vertico.el
@@ -535,29 +535,9 @@
     (setq vertico--input t)
     (vertico--exhibit)))
 
-(defun vertico--embark-target ()
-  "Return Embark target."
-  (and vertico--input
-       (cons (completion-metadata-get (completion--field-metadata
-                                       (minibuffer-prompt-end))
-                                      'category)
-            (vertico--candidate))))
-
-(defun vertico--embark-candidates ()
-  "Return Embark candidates."
-  (and vertico--input
-       (cons (completion-metadata-get (completion--field-metadata
-                                       (minibuffer-prompt-end))
-                                      'category)
-             vertico--candidates))) ;; TODO: full candidates?
-
 (with-eval-after-load 'consult
   (add-hook 'consult--completion-candidate-hook #'vertico--consult-candidate)
   (add-hook 'consult--completion-refresh-hook #'vertico--consult-refresh))
 
-(with-eval-after-load 'embark
-  (add-hook 'embark-target-finders #'vertico--embark-target)
-  (add-hook 'embark-candidate-collectors #'vertico--embark-candidates))
-
 (provide 'vertico)
 ;;; vertico.el ends here



reply via email to

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