[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate 3b871f10f9 290/372: - prevented side effects of '
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate 3b871f10f9 290/372: - prevented side effects of 'split-string' |
Date: |
Fri, 4 Feb 2022 16:59:09 -0500 (EST) |
branch: elpa/annotate
commit 3b871f10f90d9c1461c02164e89d6d77883337ce
Author: cage <cage-invalid@invalid>
Commit: cage <cage-invalid@invalid>
- prevented side effects of 'split-string'
I think i have added this bug many months ago and was hiding
unnoticed! :) It was discovered by chance only because of the latest
code changes related to multi-line annotated text.
---
annotate.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/annotate.el b/annotate.el
index c0a88bd091..6328fd5052 100644
--- a/annotate.el
+++ b/annotate.el
@@ -920,10 +920,12 @@ to 'maximum-width'."
(%group (append (list suffix)
(cl-rest rest-words))
(append (list prefix)
- so-far)))))))
+ so-far))))))
+ (%split-words (text)
+ (save-match-data (split-string text " " t))))
(if (< maximum-width 1)
nil
- (let* ((words (split-string text " " t))
+ (let* ((words (%split-words text))
(grouped (reverse (%group words '()))))
grouped))))
- [nongnu] elpa/annotate 490a935b18 186/372: Merge branch 'master' into org-mode-fix, (continued)
- [nongnu] elpa/annotate 490a935b18 186/372: Merge branch 'master' into org-mode-fix, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 947e93a067 204/372: Merge branch 'master' into org-mode-fix, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate df704cc033 205/372: Merge branch 'master' into rethink-multiline-annotations, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 9a9227f154 208/372: - changed function names:, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6cc6ac8872 210/372: Merge pull request #61 from cage2/org-mode-fix, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 754db391fd 230/372: - updated section 'known bugs' of README., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 553116dc61 239/372: - added missing unquote in macro 'annotate-with-restore-modified-bit'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 5fd0923df1 232/372: Merge pull request #71 from cage2/master, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 7893fb3060 261/372: - updated README., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate c103381862 280/372: - moved 'save-match-data' from the function that calls, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3b871f10f9 290/372: - prevented side effects of 'split-string',
ELPA Syncer <=
- [nongnu] elpa/annotate f3ace011a2 286/372: - changed customizable variable related to exporting., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate d4eff870d9 292/372: Merge pull request #93 from cage2/master, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 58525eb73a 307/372: - changed function calls from 'cl' package to the 'cl-lib' equivalents., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 4abf492f05 297/372: - updated NEWS and CHANGELOG;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate faa9245414 329/372: - increased version number and updated documentations., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 7eee85f7f9 070/372: - made the character under the annotated text (when exporting or integrating), ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6d74f53074 015/372: improve documentation and add license, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6b4b2b69d7 023/372: can now annotate long lines, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 39fc4bbda2 090/372: - added an annotation summary window, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate d84bfd56b8 103/372: Merge pull request #44 from cage2/master, ELPA Syncer, 2022/02/04