[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/anzu 13401ab3c6 249/288: Don't search over bound
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/anzu 13401ab3c6 249/288: Don't search over bound |
Date: |
Thu, 6 Jan 2022 03:58:57 -0500 (EST) |
branch: elpa/anzu
commit 13401ab3c6783776e5a15e7bf14d0f4e7b163db4
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Don't search over bound
---
anzu.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/anzu.el b/anzu.el
index 6e1eb8785b..577474eb27 100644
--- a/anzu.el
+++ b/anzu.el
@@ -388,6 +388,8 @@
(if (eobp)
(setq finish t)
(forward-char 1)))
+ (when (and replace-end (> (point) replace-end))
+ (setq finish t))
(when (and (>= beg overlay-beg) (<= end overlay-end) (not
finish))
(cl-incf overlayed)
(anzu--add-overlay beg end))))
@@ -723,7 +725,9 @@
(when (= (match-beginning 0) (match-end 0))
(if (eobp)
(cl-return nil)
- (forward-char 1)))))))
+ (forward-char 1)))
+ (when (and end (> (point) end))
+ (cl-return nil))))))
(cl-defun anzu--query-replace-common (use-regexp
&key at-cursor thing prefix-arg (query
t) isearch-p)
- [nongnu] elpa/anzu da766073d4 257/288: Add docstrings for all commands, (continued)
- [nongnu] elpa/anzu da766073d4 257/288: Add docstrings for all commands, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu a894a01110 230/288: Set default mode-line update function, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 1965307a41 253/288: Fix byte-compile warning for Emacs 25 or higher version, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 1e5c3ca0b7 231/288: Use #' instead of ' for detecting typo, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 3845ead349 248/288: Untabify, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 4992a0c23c 223/288: Fix typo, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 72e86131a2 243/288: Merge pull request #75 from syohex/user-case-fold-search, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 7b8146c1eb 254/288: Improve alt attribute of images, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 6fded24b36 224/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu f2914907e9 255/288: Update minimum Emacs version, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 13401ab3c6 249/288: Don't search over bound,
ELPA Syncer <=
- [nongnu] elpa/anzu d257c79a7a 258/288: Merge pull request #85 from syohex/add-docstrings, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 0dbefcdd1f 252/288: Enforce use of spaces for indentation, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 177a328830 266/288: Fix issue #93, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu a5a22fd537 280/288: release 0.63, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 9d334a4e37 265/288: replaced string should be compiled at regexp replace, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu ffbe938d60 268/288: perform elisp-lint in circleci, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 7dc4abe0a0 274/288: Merge branch 'master' into fix93, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu e4c2728734 270/288: fix check-declare error by eliminating declare-function, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu ee6a6448df 277/288: Merge pull request #107 from emacsorphanage/revert-104-fix93, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 71a1a88dcd 275/288: Merge pull request #104 from agreselin/fix93, ELPA Syncer, 2022/01/06