branch: elpa/toc-org
commit 40c6754d9f1fb681bb11420943f89ee54838d0e2
Author: Sergei Nosov <[email protected]>
Commit: Sergei Nosov <[email protected]>

    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

Reply via email to