[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/anzu 61cb32aa61 278/288: reapply #93 by hand
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/anzu 61cb32aa61 278/288: reapply #93 by hand |
Date: |
Thu, 6 Jan 2022 03:59:00 -0500 (EST) |
branch: elpa/anzu
commit 61cb32aa61f9bd088c519ea3cc96b81e241efed7
Author: Neil Okamoto <neil.okamoto@gmail.com>
Commit: Neil Okamoto <neil.okamoto@gmail.com>
reapply #93 by hand
doing by hand to ensure all the changes apply properly
---
anzu.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/anzu.el b/anzu.el
index 72fe2841cb..1a0663a0f3 100644
--- a/anzu.el
+++ b/anzu.el
@@ -163,10 +163,10 @@
(defsubst anzu--construct-position-info (count overflow positions)
(list :count count :overflow overflow :positions positions))
-(defsubst anzu--case-fold-search (input)
- (when isearch-case-fold-search
- (let ((case-fold-search nil))
- (not (string-match-p "[A-Z]" input)))))
+(defsubst anzu--case-fold-search ()
+ (if isearch-mode
+ isearch-case-fold-search
+ case-fold-search))
(defsubst anzu--word-search-p ()
(and (not (memq anzu--last-command anzu-regexp-search-commands))
@@ -206,7 +206,7 @@
(with-no-warnings
(migemo-forward word bound noerror count)))
#'re-search-forward))
- (case-fold-search (anzu--case-fold-search input)))
+ (case-fold-search (anzu--case-fold-search)))
(while (and (not finish) (funcall search-func input nil t))
(push (cons (match-beginning 0) (match-end 0)) positions)
(cl-incf count)
@@ -398,7 +398,7 @@
(step (if backward -1 1))
(case-fold-search (if case-sensitive
nil
- (anzu--case-fold-search str))))
+ (anzu--case-fold-search))))
(while (and (not finish) (funcall search-func str replace-end t))
(cl-incf count)
(let ((beg (match-beginning 0))
@@ -585,7 +585,7 @@
(unless (string= content anzu--last-replace-input)
(setq anzu--last-replace-input content)
(with-current-buffer buf
- (let ((case-fold-search (anzu--case-fold-search from)))
+ (let ((case-fold-search (anzu--case-fold-search)))
(dolist (ov (anzu--overlays-in-range beg (min end overlay-limit)))
(let ((replace-evaled
(if (not use-regexp)
- [nongnu] elpa/anzu b9bac0e2f8 178/288: Merge pull request #43 from syohex/fix-compile-regexp-error-case, (continued)
- [nongnu] elpa/anzu b9bac0e2f8 178/288: Merge pull request #43 from syohex/fix-compile-regexp-error-case, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 1f7ac26191 189/288: Just call isearch-symbol-regexp instead of constructing own regexp, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 10bc7c5fbd 171/288: Merge pull request #41 from syohex/refactoring, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu db9e990940 179/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 8930374775 176/288: Fix case if s-expression cannot be compiled., ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu ef39357f0a 188/288: Use variable instead of function call, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 95caf0f382 219/288: Merge pull request #63 from tarsius/master, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu e2cb45487d 213/288: Merge pull request #60 from kosh04/fix-literal-replace, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu b791609fe8 226/288: Update document, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 722ed9a52c 256/288: Merge pull request #84 from syohex/update-minimum-emacs-version, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 61cb32aa61 278/288: reapply #93 by hand,
ELPA Syncer <=
- [nongnu] elpa/anzu 1da06b0717 262/288: Don't use cl-loop for Emacs 27 bug, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 5ac649fc77 264/288: Fix wrong count issue with case-sensitive search, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 3805a01572 272/288: "new maintainer" note in README.md, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 3345640004 269/288: update badges on README.md, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu e6c56ca8b2 261/288: Update face document, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu acaef89dca 027/288: Fix byte-compilation warning, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 169442a831 055/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu cd6d3441d9 062/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 31f1f8b817 089/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 138ebcb0e0 098/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06