Function: checkdoc-start-section
checkdoc-start-section is a byte-compiled function defined in
checkdoc.el.gz.
Signature
(checkdoc-start-section CHECK-TYPE)
Documentation
Initialize the checkdoc diagnostic buffer for a pass.
Create the header so that the string CHECK-TYPE is displayed as the function called to create the messages.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/checkdoc.el.gz
(defun checkdoc-start-section (check-type)
"Initialize the checkdoc diagnostic buffer for a pass.
Create the header so that the string CHECK-TYPE is displayed as the
function called to create the messages."
(let ((dir default-directory)
(label (checkdoc-buffer-label)))
(with-current-buffer (get-buffer-create checkdoc-diagnostic-buffer)
(checkdoc-output-mode)
(setq default-directory dir)
(goto-char (point-max))
(let ((inhibit-read-only t))
(insert "\n\n\C-l\n*** " label ": "
check-type)))))