[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/embark 4ce430c04c 2/3: Correct loading instructions for
From: |
ELPA Syncer |
Subject: |
[elpa] externals/embark 4ce430c04c 2/3: Correct loading instructions for embark-consult |
Date: |
Sun, 23 Oct 2022 14:57:34 -0400 (EDT) |
branch: externals/embark
commit 4ce430c04c667bba322f14d2119890ddaa04dfdd
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>
Correct loading instructions for embark-consult
---
README.org | 11 ++++-------
embark.el | 2 +-
embark.texi | 11 ++++-------
3 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/README.org b/README.org
index 9fc92f5a97..7edf270e19 100644
--- a/README.org
+++ b/README.org
@@ -316,11 +316,7 @@ starting configuration:
;; Consult users will also want the embark-consult package.
(use-package embark-consult
- :ensure t
- :after (embark consult)
- :demand t ; only necessary if you have the hook below
- ;; if you want to have consult previews as you move around an
- ;; auto-updating embark collect buffer
+ :ensure t ; only need to install it, embark loads it after consult if found
:hook
(embark-collect-mode . consult-preview-at-point-mode))
#+end_src
@@ -971,12 +967,13 @@ enhancement provided in all commands for which it makes
sense is
preview functionality, for example =consult-buffer= will show you a
quick preview of a buffer before you actually switch to it.
-If you use both Consult and Embark you should absolutely install the
+If you use both Consult and Embark you should install the
=embark-consult= package which provides integration between the two. It
provides exporters for several Consult commands and also tweaks the
behavior of many Consult commands when used as actions with =embark-act=
in subtle ways that you may not even notice, but make for a smoother
-experience.
+experience. You need only install it to get these benefits: Embark
+will automatically load it after Consult if found.
The =embark-consult= package provides the following exporters:
diff --git a/embark.el b/embark.el
index b45786aedd..19ee174342 100644
--- a/embark.el
+++ b/embark.el
@@ -3241,7 +3241,7 @@ PRED is a predicate function used to filter the items."
bookmark-alist)))
(bookmark-bmenu-list))))
-;;; Integration with external completion UIs
+;;; Integration with external packages, mostly completion UIs
;; consult
diff --git a/embark.texi b/embark.texi
index 4dbdc2adcf..780969bb0e 100644
--- a/embark.texi
+++ b/embark.texi
@@ -427,11 +427,7 @@ starting configuration:
;; Consult users will also want the embark-consult package.
(use-package embark-consult
- :ensure t
- :after (embark consult)
- :demand t ; only necessary if you have the hook below
- ;; if you want to have consult previews as you move around an
- ;; auto-updating embark collect buffer
+ :ensure t ; only need to install it, embark loads it after consult if found
:hook
(embark-collect-mode . consult-preview-at-point-mode))
@end lisp
@@ -1165,12 +1161,13 @@ enhancement provided in all commands for which it makes
sense is
preview functionality, for example @samp{consult-buffer} will show you a
quick preview of a buffer before you actually switch to it.
-If you use both Consult and Embark you should absolutely install the
+If you use both Consult and Embark you should install the
@samp{embark-consult} package which provides integration between the two. It
provides exporters for several Consult commands and also tweaks the
behavior of many Consult commands when used as actions with @samp{embark-act}
in subtle ways that you may not even notice, but make for a smoother
-experience.
+experience. You need only install it to get these benefits: Embark
+will automatically load it after Consult if found.
The @samp{embark-consult} package provides the following exporters: