[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/anzu 4d81f2f0cd 192/288: Fix order of conditions in cond
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/anzu 4d81f2f0cd 192/288: Fix order of conditions in cond |
Date: |
Thu, 6 Jan 2022 03:58:52 -0500 (EST) |
branch: elpa/anzu
commit 4d81f2f0cd18ad5688ee9184d82af32e50ece8f6
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Fix order of conditions in cond
---
anzu.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/anzu.el b/anzu.el
index 5a4ef88ce4..fdbd79b99c 100644
--- a/anzu.el
+++ b/anzu.el
@@ -694,13 +694,13 @@
(setq delimited nil)
(anzu--query-from-at-cursor curbuf beg end
overlay-limit))
(anzu--query-from-string prompt beg end use-regexp
overlay-limit)))
- (to (cond ((string-match "\0" from)
- (prog1 (substring-no-properties from (match-end 0))
- (setq from (substring-no-properties from 0
(match-beginning 0)))))
- ((consp from)
+ (to (cond ((consp from)
(prog1 (cdr from)
(setq from (car from)
anzu--total-matched
anzu--last-replaced-count)))
+ ((string-match "\0" from)
+ (prog1 (substring-no-properties from (match-end 0))
+ (setq from (substring-no-properties from 0
(match-beginning 0)))))
(t
(anzu--query-replace-read-to
from prompt beg end use-regexp overlay-limit)))))
- [nongnu] elpa/anzu 439e904931 155/288: Enable case-sensitive replacement for at cursor commands, (continued)
- [nongnu] elpa/anzu 439e904931 155/288: Enable case-sensitive replacement for at cursor commands, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 686b264468 158/288: Refactoring: better getting migemo variable, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu e664721a7f 157/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 137fc52ca2 159/288: Merge pull request #37 from syohex/improve-for-migemo, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu e782725f80 162/288: Support case sensitive highlighting, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu cf3370967b 170/288: Refactoring for evil-anzu, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 53db7f64b7 177/288: Reduce condition check, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu cb20bdcbfe 167/288: Merge pull request #40 from syohex/improve-replace-command, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu b723c16507 172/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu db819bfb06 184/288: Merge pull request #47 from syohex/fix-46, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 4d81f2f0cd 192/288: Fix order of conditions in cond,
ELPA Syncer <=
- [nongnu] elpa/anzu f41db6225d 194/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 07b7802d9d 212/288: Fix literal replace, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu b11642d49c 207/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 88a7059601 236/288: Implement isearch-query-replace- like commands, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 1eceed7498 196/288: Merge pull request #51 from syohex/highlight-matching-groups, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu dde4d83cfa 235/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 1ce32470dd 200/288: Merge pull request #54 from syohex/check-from-regexp, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu faae95ccd9 237/288: Update document, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 008c2659b1 208/288: Use https, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu c05a8ac594 206/288: Merge pull request #57 from syohex/fix-typo, ELPA Syncer, 2022/01/06