summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-01-21 21:49:52 +0100
committerGravatar Tom Willemse2014-01-21 21:49:52 +0100
commit5189acf5d9d9ebf2f726244b9362f946fd9b52d3 (patch)
tree2ecabf4b3ad35e7e1414d7baeb52f61bc2959345
parenta4b8e96232a473812a06bda0322b44747bd37a95 (diff)
downloadedocs-5189acf5d9d9ebf2f726244b9362f946fd9b52d3.tar.gz
edocs-5189acf5d9d9ebf2f726244b9362f946fd9b52d3.zip
Only remove ;; at the beginning of the line
-rw-r--r--edocs.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/edocs.el b/edocs.el
index eedb1b7..a54d8b6 100644
--- a/edocs.el
+++ b/edocs.el
@@ -189,8 +189,8 @@ 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
+ ";;; Commentary:\n+" "" cmt)) known-symbols))
(defun edocs--format-doc (doc known-symbols)
"Perform formatting operations on DOC or on DOC's `cdr'.