Function: checkdoc-file

checkdoc-file is an autoloaded and byte-compiled function defined in checkdoc.el.gz.

Signature

(checkdoc-file FILE)

Documentation

Check FILE for document, comment, error style, and rogue spaces.

View in manual

Probably introduced at or before Emacs version 25.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/checkdoc.el.gz
;;;###autoload
(defun checkdoc-file (file)
  "Check FILE for document, comment, error style, and rogue spaces."
  (with-current-buffer (find-file-noselect file)
    (let ((checkdoc-diagnostic-buffer "*warn*"))
      (checkdoc-current-buffer t))))