[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/embark a8e56c44e0 05/30: Make sure embark-selected-cand
From: |
ELPA Syncer |
Subject: |
[elpa] externals/embark a8e56c44e0 05/30: Make sure embark-selected-candidates has highest priority |
Date: |
Thu, 20 Apr 2023 10:58:20 -0400 (EDT) |
branch: externals/embark
commit a8e56c44e08f192381692c4e32a5f0f8b329e91c
Author: Omar Antolín Camarena <omar.antolin@gmail.com>
Commit: Omar Antolín Camarena <omar.antolin@gmail.com>
Make sure embark-selected-candidates has highest priority
This way acting on selected candidates works in the minibuffer too.
---
embark.el | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/embark.el b/embark.el
index f01ce39073..ac30ffab6b 100644
--- a/embark.el
+++ b/embark.el
@@ -3309,7 +3309,10 @@ Return the category metadatum as the type of the
candidates."
(with-eval-after-load 'vertico
(add-hook 'embark-indicators #'embark--vertico-indicator)
(add-hook 'embark-target-finders #'embark--vertico-selected)
- (add-hook 'embark-candidate-collectors #'embark--vertico-candidates))
+ (add-hook 'embark-candidate-collectors #'embark--vertico-candidates)
+ (setq embark-candidate-collectors
+ (cons 'embark-selected-candidates ; ensure highest priority
+ (delq 'embark-selected-candidates embark-candidate-collectors))))
;; ivy
@@ -3346,7 +3349,10 @@ Return the category metadatum as the type of the target."
(with-eval-after-load 'ivy
(add-hook 'embark-target-finders #'embark--ivy-selected)
- (add-hook 'embark-candidate-collectors #'embark--ivy-candidates))
+ (add-hook 'embark-candidate-collectors #'embark--ivy-candidates)
+ (setq embark-candidate-collectors
+ (cons 'embark-selected-candidates ; ensure highest priority
+ (delq 'embark-selected-candidates embark-candidate-collectors))))
;;; Custom actions
- [elpa] externals/embark updated (846b3fd311 -> e7d891a8b2), ELPA Syncer, 2023/04/20
- [elpa] externals/embark 75aa8c25b0 02/30: Don't store bounds, recover from overlay, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 93ab10c48d 07/30: Delay computing :bounds until right before acting, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 99757457f7 11/30: Better key bindings for selecting targets, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 9d08b34d62 03/30: Collect selection in chronological order, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 4ab2f965f4 14/30: Fix old bug with target types in *Completions* buffer, ELPA Syncer, 2023/04/20
- [elpa] externals/embark c2721bef37 23/30: Simplify code for ensuring embark-selected-candidates has priority, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 866d8efa88 06/30: Visual feedback on selection in Vertico, ELPA Syncer, 2023/04/20
- [elpa] externals/embark a8e56c44e0 05/30: Make sure embark-selected-candidates has highest priority,
ELPA Syncer <=
- [elpa] externals/embark 6362c369bf 04/30: Enable multiple selection in Embark Collect buffers, ELPA Syncer, 2023/04/20
- [elpa] externals/embark b7550f84d7 09/30: When deciding if a candidate is selected compare original targets, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 2a5edf3cb8 12/30: Document selection, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 729f944a3b 17/30: Avoid long line, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 868d799753 28/30: Change other binding of whitespace-cleanup-region too, ELPA Syncer, 2023/04/20
- [elpa] externals/embark c9954e94f9 16/30: Revert "Do preemptive refinement of selection targets", ELPA Syncer, 2023/04/20
- [elpa] externals/embark edba98ce5c 22/30: Remove C-. C-u SPC in favor of C-. A SPC, ELPA Syncer, 2023/04/20
- [elpa] externals/embark cce4c3b86e 24/30: Allow candidate collectors to include bounds, ELPA Syncer, 2023/04/20
- [elpa] externals/embark ccb8b15edf 25/30: Document new selection functionality for collect buffers, ELPA Syncer, 2023/04/20
- [elpa] externals/embark e7d891a8b2 30/30: Bump version for new selection feature, ELPA Syncer, 2023/04/20