[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/embark 74c1e74503 2/3: Have query-replace start with cu
From: |
ELPA Syncer |
Subject: |
[elpa] externals/embark 74c1e74503 2/3: Have query-replace start with current occurrence of target |
Date: |
Thu, 30 Dec 2021 16:57:39 -0500 (EST) |
branch: externals/embark
commit 74c1e74503c2007c157e0a05c8127d2d5b47f8f0
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>
Have query-replace start with current occurrence of target
---
embark.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/embark.el b/embark.el
index 839cb88f11..af22473ec4 100644
--- a/embark.el
+++ b/embark.el
@@ -477,8 +477,8 @@ the key :always are executed always."
;; search for region contents outside said region
(embark-isearch embark--unmark-target)
(occur embark--unmark-target)
- (query-replace embark--unmark-target)
- (query-replace-regexp embark--unmark-target))
+ (query-replace embark--beginning-of-target embark--unmark-target)
+ (query-replace-regexp embark--beginning-of-target embark--unmark-target))
"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