[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/anzu 7c56f15f72 068/288: add deactivate-region flag when u
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/anzu 7c56f15f72 068/288: add deactivate-region flag when using region |
Date: |
Thu, 6 Jan 2022 03:58:40 -0500 (EST) |
branch: elpa/anzu
commit 7c56f15f72ea425c93b5181ac8eec8d2b8155d27
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
add deactivate-region flag when using region
It is hart to see marker if anzu-replace commands are used with region.
---
anzu.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/anzu.el b/anzu.el
index a72aa97d71..8de12b6fcd 100644
--- a/anzu.el
+++ b/anzu.el
@@ -87,6 +87,11 @@
:type 'number
:group 'anzu)
+(defcustom anzu-deactivate-region nil
+ "Deactive region if you use anzu a replace command with region"
+ :type 'boolean
+ :group 'anzu)
+
(defface anzu-mode-line
'((t (:foreground "magenta" :weight bold)))
"face of anzu modeline"
@@ -447,6 +452,8 @@
(delimited current-prefix-arg)
(curbuf (current-buffer))
(clear-overlay nil))
+ (when (and anzu-deactivate-region use-region)
+ (deactivate-mark t))
(unwind-protect
(let* ((from (if symbol-beg
(progn
- [nongnu] elpa/anzu 0bdbfcb209 138/288: Improve case when input does not match anything in visiable range(#30), (continued)
- [nongnu] elpa/anzu 0bdbfcb209 138/288: Improve case when input does not match anything in visiable range(#30), ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu af40f91a98 140/288: Merge pull request #31 from syohex/no-match-case, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 04ac39641e 143/288: Merge pull request #32 from syohex/fix-at-cursor-beginning-point, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu c61f6734b1 152/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 3adcdab743 163/288: Correct saving replacement history, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 9064fc7892 169/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 75bd476be1 045/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 8622c1fa93 049/288: Fix typo, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu b8d328805a 053/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu bb3f7b63ef 059/288: Implement anzu-query-replace-at-cursor, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 7c56f15f72 068/288: add deactivate-region flag when using region,
ELPA Syncer <=
- [nongnu] elpa/anzu b6672c9bf2 061/288: Improve overlay replace text, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 0e7873a3e7 075/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 68300bc949 078/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 264c36d135 076/288: Fix overlay is not put if match-string is 0 length, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 8bde8ee114 088/288: Update comment, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 29a07403a6 091/288: Merge pull request #12 from syohex/support-backward-replace, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 368a4ebe8c 096/288: Fix no prefix number case, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu a36458386d 107/288: Don't show default replacement in prompt, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu ef489aadb2 118/288: Fix replacement issue(#22), ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 497864542b 120/288: Bumpup version and update Changes, ELPA Syncer, 2022/01/06