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

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

[elpa] externals/embark 9796324be8 3/3: Merge pull request #551 from min


From: ELPA Syncer
Subject: [elpa] externals/embark 9796324be8 3/3: Merge pull request #551 from minad/warning
Date: Sun, 23 Oct 2022 14:57:34 -0400 (EDT)

branch: externals/embark
commit 9796324be854889d32b6c7e301c9274e9dd50146
Merge: 4ce430c04c 9b2315500c
Author: Omar AntolĂ­n Camarena <omar.antolin@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #551 from minad/warning
    
    Move warning
---
 embark.el | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/embark.el b/embark.el
index 19ee174342..89e90ff706 100644
--- a/embark.el
+++ b/embark.el
@@ -3243,12 +3243,6 @@ PRED is a predicate function used to filter the items."
 
 ;;; Integration with external packages, mostly completion UIs
 
-;; consult
-
-(with-eval-after-load 'consult
-  (unless (require 'embark-consult nil 'noerror)
-    (warn "The package embark-consult should be installed if you use both 
Embark and Consult")))
-
 ;; marginalia
 
 ;; Ensure that the Marginalia cache is reset, such that
@@ -4293,4 +4287,14 @@ library, which have an obvious notion of associated 
directory."
   ("c" count-matches))
 
 (provide 'embark)
+
+;; Check that embark-consult is installed. If Embark is used in
+;; combination with Consult, you should install the integration package,
+;; such that features like embark-export from consult-grep work as
+;; expected.
+
+(with-eval-after-load 'consult
+  (unless (require 'embark-consult nil 'noerror)
+    (warn "The package embark-consult should be installed if you use both 
Embark and Consult")))
+
 ;;; embark.el ends here



reply via email to

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