[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/embark f2a83a6db4 6/8: Merge pull request #550 from min
From: |
ELPA Syncer |
Subject: |
[elpa] externals/embark f2a83a6db4 6/8: Merge pull request #550 from minad/require-embark-consult |
Date: |
Sun, 23 Oct 2022 12:57:40 -0400 (EDT) |
branch: externals/embark
commit f2a83a6db4fbbf171692ca751ff7175daec62cff
Merge: 2422d4e86f 52b25d9ba4
Author: Omar AntolĂn Camarena <omar.antolin@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #550 from minad/require-embark-consult
Add a warning in case embark-consult cannot be loaded
---
README.org | 8 ++++----
embark-consult.el | 8 ++------
embark.el | 25 ++++++++-----------------
3 files changed, 14 insertions(+), 27 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-consult.el b/embark-consult.el
index 6bd16010be..8bc3c5f72e 100644
--- a/embark-consult.el
+++ b/embark-consult.el
@@ -24,12 +24,8 @@
;;; Commentary:
-;; This package provides integration between Embark and Consult. To
-;; use it, arrange for it to be loaded once both of those are loaded:
-
-;; (with-eval-after-load 'consult
-;; (with-eval-after-load 'embark
-;; (require 'embark-consult)))
+;; This package provides integration between Embark and Consult. The package
+;; will be loaded automatically by Embark.
;; Some of the functionality here was previously contained in Embark
;; itself:
diff --git a/embark.el b/embark.el
index db7019f654..4f157bf8be 100644
--- a/embark.el
+++ b/embark.el
@@ -316,17 +316,6 @@ indicate that for files at the prompt of the `delete-file'
command,
(symbol :tag "Command")))
:value-type (function :tag "Default action")))
-(make-obsolete-variable
- 'embark-allow-edit-actions
- "To allow editing for an action add `embark--allow-edit' to the
-entry of `embark-target-injection-hooks' whose key is the action."
- "0.14")
-
-(define-obsolete-variable-alias
- 'embark-setup-action-hooks
- 'embark-target-injection-hooks
- "0.14")
-
(defcustom embark-target-injection-hooks
'((async-shell-command embark--allow-edit embark--shell-prep)
(shell-command embark--allow-edit embark--shell-prep)
@@ -2434,12 +2423,6 @@ candidates and whose `cdr' is the list of candidates,
each of
which should be a string."
:type 'hook)
-(make-obsolete-variable
- 'embark-collect-initial-view-alist
- "Support for different collect views has been removed.
-The zebra mode can be configured per completion type via
`embark-collect-zebra-types'."
- "0.16")
-
(defcustom embark-collect-zebra-types
'(kill-ring)
"List of completion types for which zebra stripes should be activated.
@@ -3259,6 +3242,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, 2022/10/23
- [elpa] externals/embark f2a83a6db4 6/8: Merge pull request #550 from minad/require-embark-consult,
ELPA Syncer <=
- [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