Only remove ;; at the beginning of the line

This commit is contained in:
Tom Willemse 2014-01-21 21:49:52 +01:00
parent a4b8e96232
commit 5189acf5d9

View file

@ -189,8 +189,8 @@ KNOWN-SYMBOLS is used for referencing symbols found in other
parts of the module." parts of the module."
(edocs--format-text (edocs--format-text
(replace-regexp-in-string (replace-regexp-in-string
";; " "" (replace-regexp-in-string "^;; " "" (replace-regexp-in-string
";;; Commentary:\n+" "" cmt)) known-symbols)) ";;; Commentary:\n+" "" cmt)) known-symbols))
(defun edocs--format-doc (doc known-symbols) (defun edocs--format-doc (doc known-symbols)
"Perform formatting operations on DOC or on DOC's `cdr'. "Perform formatting operations on DOC or on DOC's `cdr'.