branch: elpa/toc-org
commit 8dbb3df422781b97c71f7f6a5ed042885e36ec86
Author: Stefan Kangas <[email protected]>
Commit: Stefan Kangas <[email protected]>

    Fix byte-compiler warning in Emacs 28
---
 toc-org.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/toc-org.el b/toc-org.el
index 5ca0f010e9..af9b4e7c88 100644
--- a/toc-org.el
+++ b/toc-org.el
@@ -59,7 +59,9 @@ files on GitHub)"
 
 ;; just in case, simple regexp "^*.*:toc:\\($\\|[^ ]*:$\\)"
 (defconst toc-org-toc-org-regexp 
".*?\\(<--\s+\\)?:toc\\([@_][0-9]\\|\\([@_][0-9][@_][a-zA-Z]+\\)\\)?:\\(\\(\s+-->\\)?$\\|[^
 ]*?:\\(\s+-->\\)?$\\)"
-  "Regexp to find the heading with the :toc: tag. It misses the heading symbol 
which must be added depending on the markup style (org vs markdown).")
+  "Regexp to find the heading with the :toc: tag.
+It misses the heading symbol which must be added depending on the
+markup style (org vs markdown).")
 (defconst toc-org-quote-tag-regexp ":quote:\\(\\(\s+-->\\)?$\\|[^ 
]*?:\\(\s+-->\\)?$\\)"
   "Regexp to find the heading with the :quote: tag")
 (defconst toc-org-noexport-regexp 
"\\(^*+\\)\s+.*:noexport\\([@_][0-9]\\)?:\\($\\|[^ ]*?:$\\)"

Reply via email to