[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/anzu 97976620ae 222/288: Merge pull request #64 from akich
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/anzu 97976620ae 222/288: Merge pull request #64 from akicho8/fix-region-word-replace |
Date: |
Thu, 6 Jan 2022 03:58:54 -0500 (EST) |
branch: elpa/anzu
commit 97976620aedf664a54ce6e98a278bed41aacaaa6
Merge: 31f70860ef d6ffd23cb5
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Merge pull request #64 from akicho8/fix-region-word-replace
Fix word replace in region
---
anzu.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/anzu.el b/anzu.el
index 44a9f0e607..dc31378a24 100644
--- a/anzu.el
+++ b/anzu.el
@@ -661,9 +661,9 @@
(point-max))))
(defun anzu--region-begin (use-region thing backward)
- (cond (current-prefix-arg (line-beginning-position))
+ (cond (use-region (region-beginning))
+ (current-prefix-arg (line-beginning-position))
(thing (anzu--thing-begin thing))
- (use-region (region-beginning))
(backward (point-min))
(t (point))))
@@ -673,10 +673,10 @@
(line-end-position)))
(defun anzu--region-end (use-region thing)
- (cond (current-prefix-arg
+ (cond (use-region (region-end))
+ (current-prefix-arg
(anzu--line-end-position (prefix-numeric-value current-prefix-arg)))
(thing (anzu--thing-end thing))
- (use-region (region-end))
(t (point-max))))
(defun anzu--begin-thing (at-cursor thing)
- [nongnu] elpa/anzu 799f26ee0e 260/288: Merge pull request #86 from syohex/no-match-face, (continued)
- [nongnu] elpa/anzu 799f26ee0e 260/288: Merge pull request #86 from syohex/no-match-face, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 5bd8f5511d 273/288: Fix backward replace issue, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu abb129c5f8 148/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu c4a440af86 175/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 05eda5f709 191/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu dcd8eac2e5 165/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 57bad64f1e 185/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 7fb133e847 180/288: Fix zero width replacement such as '^'(#44), ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu c3c9a0b721 209/288: Set anzu--status per buffer, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 4ab2b65dcb 201/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 97976620ae 222/288: Merge pull request #64 from akicho8/fix-region-word-replace,
ELPA Syncer <=
- [nongnu] elpa/anzu f29278e5bd 218/288: Silence byte-compiler, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 31f70860ef 220/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 5684b4b601 199/288: Check replaced regexp is valid, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 3e34fb3df5 279/288: update anzu--use-result-cache-p as in PR #93, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 494f1d9d39 195/288: Support highlighting match groups, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 12612a2b4f 202/288: Update document of custom function, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 27e3a89622 203/288: Correct misspellings, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu b80dc0ca92 210/288: Merge pull request #59 from syohex/buffer-local-status, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu a08ff2f7db 215/288: Wrap migemo-forward with ignore-errors, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu f2aad769c1 227/288: Update copyright year, ELPA Syncer, 2022/01/06