Function: checkdoc-interactive-ispell-loop
checkdoc-interactive-ispell-loop is a byte-compiled function defined
in checkdoc.el.gz.
Signature
(checkdoc-interactive-ispell-loop START-HERE)
Documentation
Interactively spell check doc strings in the current buffer.
If START-HERE is nil, searching starts at the beginning of the current buffer, otherwise searching starts at START-HERE.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/checkdoc.el.gz
(defun checkdoc-interactive-ispell-loop (start-here)
"Interactively spell check doc strings in the current buffer.
If START-HERE is nil, searching starts at the beginning of the current
buffer, otherwise searching starts at START-HERE."
(when checkdoc-spellcheck-documentation-flag
(save-excursion
;; Move point to where we need to start.
(if start-here
;; Include whatever function point is in for good measure.
(beginning-of-defun)
(goto-char (point-min)))
;; Loop over docstrings.
(while (checkdoc-next-docstring)
(message "Searching for doc string spell error...%d%%"
(floor (* 100.0 (point)) (point-max)))
(when (= (following-char) ?\")
(checkdoc-ispell-docstring-engine
(save-excursion (forward-sexp 1) (point-marker)))))
(message "Checkdoc: Done."))))