aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2006-08-28 16:57:28 +0000
committerChong Yidong2006-08-28 16:57:28 +0000
commit81e213dc7cb42ca0195a1b81d5cb1d50164d9182 (patch)
tree13a4a10bf88bf6b1f3523741df9ad983424a94e7
parent6081889eb5223289095eec80fea59e036bbe0392 (diff)
downloademacs-81e213dc7cb42ca0195a1b81d5cb1d50164d9182.tar.gz
emacs-81e213dc7cb42ca0195a1b81d5cb1d50164d9182.zip
* emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): Insert
commentary after first line summary.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/emacs-lisp/checkdoc.el3
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cdb21cb510d..9c01cd76a45 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12006-08-28 Chong Yidong <cyd@stupidchicken.com> 12006-08-28 Chong Yidong <cyd@stupidchicken.com>
2 2
3 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): Insert
4 commentary after first line summary.
5
3 * woman.el (woman-follow): New function, based on `man-follow'. 6 * woman.el (woman-follow): New function, based on `man-follow'.
4 (woman-mode-map): Use it. 7 (woman-mode-map): Use it.
5 8
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index 68603c905a5..666b373ca53 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -2261,7 +2261,8 @@ Code:, and others referenced in the style guide."
2261 (re-search-forward "^;;; Code" nil t) 2261 (re-search-forward "^;;; Code" nil t)
2262 (re-search-forward "^(require" nil t) 2262 (re-search-forward "^(require" nil t)
2263 (re-search-forward "^(" nil t)) 2263 (re-search-forward "^(" nil t))
2264 (beginning-of-line))) 2264 (beginning-of-line))
2265 (t (re-search-forward ";;; .* --- .*\n")))
2265 (if (checkdoc-y-or-n-p 2266 (if (checkdoc-y-or-n-p
2266 "You should have a \";;; Commentary:\", add one? ") 2267 "You should have a \";;; Commentary:\", add one? ")
2267 (insert "\n;;; Commentary:\n;; \n\n") 2268 (insert "\n;;; Commentary:\n;; \n\n")