[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/cycle-at-point c88b42edea 07/18: Use recomplete-replace-in
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/cycle-at-point c88b42edea 07/18: Use recomplete-replace-in-region utility function |
Date: |
Sun, 21 Apr 2024 21:59:37 -0400 (EDT) |
branch: elpa/cycle-at-point
commit c88b42edea89c8f718eb325433ec7ae7c6cd320a
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Use recomplete-replace-in-region utility function
---
cycle-at-point.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/cycle-at-point.el b/cycle-at-point.el
index 73769084da..814f2b4623 100644
--- a/cycle-at-point.el
+++ b/cycle-at-point.el
@@ -287,9 +287,7 @@ Argument FN-CACHE stores the result for reuse."
(when result-choices
(let ((word-at-index (nth (mod cycle-index (length result-choices))
result-choices)))
- (goto-char word-beg)
- (delete-region word-beg word-end)
- (insert word-at-index))
+ (recomplete-replace-in-region word-at-index word-beg word-end))
(list result-choices fn-cache))))
- [nongnu] elpa/cycle-at-point updated (85750fa695 -> c7e10161ab), ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point 26548088c9 02/18: Resolve issues building the packages with elpa.gnu.org, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point 548070cd9f 05/18: Cleanup: minor syntax change, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point ac856a306c 03/18: Add Makefile "make test" target, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point c61ac8f2c7 06/18: Cleanup: replace 'if' with 'cond', ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point c7e10161ab 18/18: Use important-return-value for functions, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point 18b1c9922a 09/18: Cleanup: remove redundant lambda quote, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point 83e9e4e674 04/18: Cleanup: use match-string without properties, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point 738a18d3b0 01/18: Change URL to codeberg, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point c88b42edea 07/18: Use recomplete-replace-in-region utility function,
ELPA Syncer <=
- [nongnu] elpa/cycle-at-point 319d30df35 08/18: Cleanup: emacs native format, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point 093c1cf2c9 10/18: Cleanup: formatting, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point e1529cda74 12/18: Cleanup: use pos-bol/eol as respecting fields isn't needed, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point 07bdd9c68c 14/18: Correct compatibility for pos-bol/eol for emacs <29.1, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point b80d6f8c95 13/18: Fix compatibility for pos-bol/eol for emacs <29.1, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point 0c07fc7f1f 16/18: Add cycle-at-point-preset-override, useful for tree-sitter modes, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point 3e7f631dea 15/18: Cleanup: reformat with updated elisp-autofmt, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point 215ea10e46 17/18: Bump emacs version 29.1, ELPA Syncer, 2024/04/21
- [nongnu] elpa/cycle-at-point 476172e214 11/18: Cleanup: add fill-column local variable, ELPA Syncer, 2024/04/21