Function: checkdoc-display-status-buffer

checkdoc-display-status-buffer is a byte-compiled function defined in checkdoc.el.gz.

Signature

(checkdoc-display-status-buffer CHECK)

Documentation

Display and update the status buffer for the current checkdoc mode.

CHECK is a list of four strings stating the current status of each test; the nth string describes the status of the nth test.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/checkdoc.el.gz
(defun checkdoc-display-status-buffer (check)
  "Display and update the status buffer for the current checkdoc mode.
CHECK is a list of four strings stating the current status of each
test; the nth string describes the status of the nth test."
  (let (temp-buffer-setup-hook
        (temp-buffer-show-hook #'special-mode))
    (with-output-to-temp-buffer "*Checkdoc Status*"
      (mapc #'princ
            (list "Buffer comments and tags:  " (nth 0 check)
                  "\nDocumentation style:       " (nth 1 check)
                  "\nMessage/Query text style:  " (nth 2 check)
                  "\nUnwanted Spaces:           " (nth 3 check)))))
  (shrink-window-if-larger-than-buffer
   (get-buffer-window "*Checkdoc Status*"))
  (message nil)
  (sit-for 0))