[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/embark 9b2315500c 1/3: Move warning
From: |
ELPA Syncer |
Subject: |
[elpa] externals/embark 9b2315500c 1/3: Move warning |
Date: |
Sun, 23 Oct 2022 14:57:34 -0400 (EDT) |
branch: externals/embark
commit 9b2315500cd492d6ae5c3614ef8ab140c8f47781
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Move warning
---
embark.el | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/embark.el b/embark.el
index b45786aedd..24f17fe429 100644
--- a/embark.el
+++ b/embark.el
@@ -3243,12 +3243,6 @@ PRED is a predicate function used to filter the items."
;;; Integration with external 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