[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/embark d1f15708c3 27/30: Make embark--toggle-select a p
From: |
ELPA Syncer |
Subject: |
[elpa] externals/embark d1f15708c3 27/30: Make embark--toggle-select a pre-action hook |
Date: |
Thu, 20 Apr 2023 10:58:23 -0400 (EDT) |
branch: externals/embark
commit d1f15708c311d996994bdb55d7f4ef4abaaccb7a
Author: Omar Antolín Camarena <omar.antolin@gmail.com>
Commit: Omar Antolín Camarena <omar.antolin@gmail.com>
Make embark--toggle-select a pre-action hook
I guess pre-action hooks are a little simpler.
---
embark.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/embark.el b/embark.el
index 7e740f2313..c8e22602cb 100644
--- a/embark.el
+++ b/embark.el
@@ -409,7 +409,9 @@ the key :always are executed always."
(mark embark--mark-target)
;; shells in new buffers
(shell embark--universal-argument)
- (eshell embark--universal-argument))
+ (eshell embark--universal-argument)
+ ;; do the actual work of selecting & deselecting targets
+ (embark-toggle-select embark--toggle-select))
"Alist associating commands with pre-action hooks.
The hooks are run right before an action is embarked upon. See
`embark-target-injection-hooks' for information about the hook
@@ -447,9 +449,7 @@ arguments and more details."
:value-type hook))
(defcustom embark-around-action-hooks
- '(;; do the actual work of selecting & deselecting targets
- (embark-toggle-select embark--toggle-select)
- ;; use directory of target as default-directory
+ '(;; use directory of target as default-directory
(shell embark--cd)
(eshell embark--cd)
;; narrow to target for duration of action
- [elpa] externals/embark cce4c3b86e 24/30: Allow candidate collectors to include bounds, (continued)
- [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
- [elpa] externals/embark c5a9167320 01/30: Initial implementation of acting on selections of targets, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 2b2e62af00 08/30: Better selection highlight code for Vertico, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 143208cddb 15/30: Make the text property embark-selection private, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 0ad1b4069e 10/30: Fix bug when collecting the selection from the minibuffer, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 55db7435eb 18/30: Fix bug with default action in collected selection, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 83704d8cb9 19/30: A bit of clean up, ELPA Syncer, 2023/04/20
- [elpa] externals/embark aa88649674 20/30: Remove tiny function only used once, ELPA Syncer, 2023/04/20
- [elpa] externals/embark d1f15708c3 27/30: Make embark--toggle-select a pre-action hook,
ELPA Syncer <=
- [elpa] externals/embark bbc0f1edc2 13/30: Do preemptive refinement of selection targets, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 85bd2fc7e8 26/30: Document some examples of using selections, ELPA Syncer, 2023/04/20
- [elpa] externals/embark 02b9e3c718 29/30: Start a changelog (finally), ELPA Syncer, 2023/04/20
- [elpa] externals/embark 17ce81090a 21/30: Keep overlay information in refined selection candidates, ELPA Syncer, 2023/04/20