[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/symbol-overlay 6076319f57 079/152: add default text when r
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/symbol-overlay 6076319f57 079/152: add default text when replacing |
Date: |
Thu, 7 Jul 2022 12:04:16 -0400 (EDT) |
branch: elpa/symbol-overlay
commit 6076319f57a7e8dbf2fe11250def5a3fa3c0c854
Author: wolray <290061869@qq.com>
Commit: wolray <290061869@qq.com>
add default text when replacing
---
symbol-overlay.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/symbol-overlay.el b/symbol-overlay.el
index 4dd471b67a..bdbc0168be 100644
--- a/symbol-overlay.el
+++ b/symbol-overlay.el
@@ -490,7 +490,7 @@ DIR must be 1 or -1."
(and scope (user-error "Query-replace invalid in scope"))
(beginning-of-thing 'symbol)
(push-mark nil t)
- (setq txt (read-string "Replacement: ")
+ (setq txt (read-string "Replacement: " (substring symbol 3 -3))
new (symbol-overlay-get-symbol txt)
defaults (cons symbol txt))
(unless (string= new symbol)
- [nongnu] elpa/symbol-overlay 389cc1519a 040/152: fix missed minibufferp check, (continued)
- [nongnu] elpa/symbol-overlay 389cc1519a 040/152: fix missed minibufferp check, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay a5b5e62cad 045/152: change the temp-face, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay f0418dea49 047/152: enable scope in the minor-mode, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 765e1d3b07 050/152: improvements on refresh, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay dbe35b271d 056/152: bind jump-and-switch keys to p/n, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay fcd6ffe97a 059/152: delete symbol-overlay-narrow-function, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay b6f4bc4aa6 060/152: v3.6: remove put-temp-one and mark, improve refresh for temp, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 02b6ea82ac 063/152: better logic, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 75e59b5d63 068/152: Give the minor-mode a keymap, so users can bind M-n/M-p there if they prefer, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay de2bf06202 066/152: Turn overlay colors list and idle time into custom vars, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 6076319f57 079/152: add default text when replacing,
ELPA Syncer <=
- [nongnu] elpa/symbol-overlay 7f9de8e93f 081/152: Do not enable symbol-overlay-mode when keyword not found, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 1d610fa502 082/152: Merge pull request #14 from yulapshun/master, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 7ced9edc76 084/152: Merge pull request #16 from emacswatcher/master, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 17cac32ea9 090/152: Added support to ignore keywords from c and c++ modes, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay b76f510037 089/152: little adjustment after merging, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay b6dba39f02 094/152: Merge pull request #24 from purcell/patch-4, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 2b565ba9ec 096/152: Fix error in symbol-overlay-ignore-function-python, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay d146404278 101/152: Bump version (fixes #19), ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay c630dbd5ce 105/152: Split code into sections, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 1fb712d4a8 114/152: typo fix, ELPA Syncer, 2022/07/07