[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/toc-org 40c6754d9f 083/128: replacs string-join with mapco
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/toc-org 40c6754d9f 083/128: replacs string-join with mapconcat |
Date: |
Sun, 2 Jan 2022 09:59:11 -0500 (EST) |
branch: elpa/toc-org
commit 40c6754d9f1fb681bb11420943f89ee54838d0e2
Author: Sergei Nosov <sergei.nosov@gmail.com>
Commit: Sergei Nosov <sergei.nosov@gmail.com>
replacs string-join with mapconcat
compatibility reasons
---
toc-org.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toc-org.el b/toc-org.el
index 8e9ffb9509..9f72029b75 100644
--- a/toc-org.el
+++ b/toc-org.el
@@ -122,7 +122,7 @@ auxiliary text."
(setq custom-keywords (append custom-keywords (split-string
(match-string 2) "[ \f\t\n\r\v|]+" t))))
(if custom-keywords
(setq toc-org-states-regexp
- (concat "^*+\s+\\(" (string-join custom-keywords "\s+\\|")
"\s+\\)"))
+ (concat "^*+\s+\\(" (mapconcat 'identity custom-keywords
"\s+\\|") "\s+\\)"))
(setq toc-org-states-regexp "^*+\s+\\(TODO\s+\\|DONE\s+\\)"))
;; keep only lines starting with *s
- [nongnu] elpa/toc-org 91670bcc41 014/128: add badges, (continued)
- [nongnu] elpa/toc-org 91670bcc41 014/128: add badges, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 8364e88da3 015/128: fix travis badge, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 381abe6c52 032/128: add a renaming note, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 99195a69fd 036/128: update MELPA badge, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 14daed1a53 040/128: make C-c C-o work with any href style, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 3421f6192d 038/128: add a rename note to the commentary, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org f345f768cb 051/128: Merge pull request #13 from JAremko/master, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org ac2c33dcf8 055/128: remove unnecessary spaces, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 1d52ece078 016/128: another fix to travis badge, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org fdfb7574dc 068/128: fix travis build, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 40c6754d9f 083/128: replacs string-join with mapconcat,
ELPA Syncer <=
- [nongnu] elpa/toc-org 356b3fbb89 101/128: Define fake markdown mode in tests, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 2c4ff18a4e 092/128: document quote functionality, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 4315afd2a4 095/128: fix readme, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org cf4a624b78 122/128: Add license file with GPLv3, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 2539b4be40 097/128: add test for parenthesis in custom TODO words declaration, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org f13f79737a 020/128: Wrap test call with `(eval-after-load "ert-autoloads"...), ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org e9cf57041a 008/128: fix heading regexp, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org abbcb67166 011/128: allow _ as seprartor, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org ad3424d457 067/128: move tests to a separate file, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 5a8a3f9b3a 080/128: Merge pull request #42 from snosov1/remove-opening-space, ELPA Syncer, 2022/01/02