[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/embark 3b91887d13 3/8: Add a warning in case embark-con
From: |
ELPA Syncer |
Subject: |
[elpa] externals/embark 3b91887d13 3/8: Add a warning in case embark-consult cannot be loaded |
Date: |
Sun, 23 Oct 2022 12:57:39 -0400 (EDT) |
branch: externals/embark
commit 3b91887d13b7a356ea3a85977c96cf754c1db4be
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Add a warning in case embark-consult cannot be loaded
A missing embark-consult package seems to be a common issue. Warn about it.
---
README.org | 8 ++++----
embark.el | 8 ++++++++
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/README.org b/README.org
index a67e8f2d88..9fc92f5a97 100644
--- a/README.org
+++ b/README.org
@@ -189,10 +189,10 @@ sets:
package menu mode.
If you use the grepping commands from the
[[https://github.com/minad/consult/][Consult]] package,
- =consult-grep=, =consult-git-grep= or =consult-ripgrep=, then you'll
- probably want to install and load the =embark-consult= package, which
- adds support for exporting a list of grep results to an honest
- grep-mode buffer, on which you can even use
[[https://github.com/mhayashi1120/Emacs-wgrep][wgrep]] if you wish.
+ =consult-grep=, =consult-git-grep= or =consult-ripgrep=, then you should
+ install the =embark-consult= package, which adds support for exporting a
+ list of grep results to an honest grep-mode buffer, on which you can
+ even use [[https://github.com/mhayashi1120/Emacs-wgrep][wgrep]] if you wish.
When in doubt choosing between exporting and collecting, a good rule
of thumb is to always prefer =embark-export= since when an exporter to a
diff --git a/embark.el b/embark.el
index db7019f654..f746ed8942 100644
--- a/embark.el
+++ b/embark.el
@@ -3259,6 +3259,14 @@ 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
;; `embark-toggle-variable-value' updates the display (See #540).
(with-eval-after-load 'marginalia
- [elpa] externals/embark updated (2422d4e86f -> 84d5f9e7bb), ELPA Syncer, 2022/10/23
- [elpa] externals/embark eaa5f5defe 2/8: Use vertico--update, ELPA Syncer, 2022/10/23
- [elpa] externals/embark e565f910e6 4/8: Update commentary, ELPA Syncer, 2022/10/23
- [elpa] externals/embark 52b25d9ba4 5/8: Remove some obsolete variables, ELPA Syncer, 2022/10/23
- [elpa] externals/embark 0778e2df13 1/8: Avoid using 'buffer-local-value' as a generalised variable, ELPA Syncer, 2022/10/23
- [elpa] externals/embark 3b91887d13 3/8: Add a warning in case embark-consult cannot be loaded,
ELPA Syncer <=
- [elpa] externals/embark f2a83a6db4 6/8: Merge pull request #550 from minad/require-embark-consult, ELPA Syncer, 2022/10/23
- [elpa] externals/embark e2166946d1 7/8: Merge pull request #548 from minad/fix-init, ELPA Syncer, 2022/10/23
- [elpa] externals/embark 84d5f9e7bb 8/8: Merge pull request #534 from phikal/master, ELPA Syncer, 2022/10/23