From 5189acf5d9d9ebf2f726244b9362f946fd9b52d3 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 21 Jan 2014 21:49:52 +0100 Subject: Only remove ;; at the beginning of the line --- edocs.el | 4 ++-- 1 file 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'. -- cgit v1.2.3-54-g00ecf