summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-01-21 21:51:43 +0100
committerGravatar Tom Willemse2014-01-21 21:51:43 +0100
commit477e7fac3a51168359229e27205cb470a0ed9c54 (patch)
treebdf450e6b5c8322f08d9c30c7836c099a1571c12
parent5189acf5d9d9ebf2f726244b9362f946fd9b52d3 (diff)
downloadedocs-477e7fac3a51168359229e27205cb470a0ed9c54.tar.gz
edocs-477e7fac3a51168359229e27205cb470a0ed9c54.zip
Replace remaining ; with *
This way org-export makes headers out of items that start with `;;;'.
-rw-r--r--edocs.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/edocs.el b/edocs.el
index a54d8b6..0ad0065 100644
--- a/edocs.el
+++ b/edocs.el
@@ -189,8 +189,9 @@ KNOWN-SYMBOLS is used for referencing symbols found in other
parts of the module."
(edocs--format-text
(replace-regexp-in-string
- "^;; " "" (replace-regexp-in-string
- ";;; Commentary:\n+" "" cmt)) known-symbols))
+ ";" "*" (replace-regexp-in-string
+ "^;; " "" (replace-regexp-in-string
+ ";;; Commentary:\n+" "" cmt))) known-symbols))
(defun edocs--format-doc (doc known-symbols)
"Perform formatting operations on DOC or on DOC's `cdr'.