* emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): Insert
commentary after first line summary.
This commit is contained in:
parent
6081889eb5
commit
81e213dc7c
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2006-08-28 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): Insert
|
||||
commentary after first line summary.
|
||||
|
||||
* woman.el (woman-follow): New function, based on `man-follow'.
|
||||
(woman-mode-map): Use it.
|
||||
|
||||
|
|
|
|||
|
|
@ -2261,7 +2261,8 @@ Code:, and others referenced in the style guide."
|
|||
(re-search-forward "^;;; Code" nil t)
|
||||
(re-search-forward "^(require" nil t)
|
||||
(re-search-forward "^(" nil t))
|
||||
(beginning-of-line)))
|
||||
(beginning-of-line))
|
||||
(t (re-search-forward ";;; .* --- .*\n")))
|
||||
(if (checkdoc-y-or-n-p
|
||||
"You should have a \";;; Commentary:\", add one? ")
|
||||
(insert "\n;;; Commentary:\n;; \n\n")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue