[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/anzu d6ffd23cb5 221/288: Fix word replace in region
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/anzu d6ffd23cb5 221/288: Fix word replace in region |
Date: |
Thu, 6 Jan 2022 03:58:54 -0500 (EST) |
branch: elpa/anzu
commit d6ffd23cb5d5462afea7eecd399ed0cd9bb77838
Author: akicho8 <akicho8@gmail.com>
Commit: akicho8 <akicho8@gmail.com>
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 dde4d83cfa 235/288: Bump up version and update Changes, (continued)
- [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
- [nongnu] elpa/anzu de3d805c9a 211/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 9c821d182c 217/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu ed5e91b0c4 259/288: Add face at no-match case, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 9574e8140f 247/288: Merge pull request #76 from Fuco1/bugfix/fix-customize-type, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu be16738cb7 250/288: Merge pull request #80 from syohex/replace-with-region, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu d6ffd23cb5 221/288: Fix word replace in region,
ELPA Syncer <=
- [nongnu] elpa/anzu 174b940c7e 241/288: Better example as well as #73, ELPA Syncer, 2022/01/06
- [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