Function: checkdoc-ispell-init
checkdoc-ispell-init is a byte-compiled function defined in
checkdoc.el.gz.
Signature
(checkdoc-ispell-init)
Documentation
Initialize Ispell process (default version) with Lisp words.
The words used are from checkdoc-ispell-lisp-words. If ispell
cannot be loaded, then set checkdoc-spellcheck-documentation-flag to
nil.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/checkdoc.el.gz
(defun checkdoc-ispell-init ()
"Initialize Ispell process (default version) with Lisp words.
The words used are from `checkdoc-ispell-lisp-words'. If `ispell'
cannot be loaded, then set `checkdoc-spellcheck-documentation-flag' to
nil."
(require 'ispell)
(unless ispell-process
(condition-case nil
(progn
(ispell-set-spellchecker-params) ; Initialize variables and dict alists.
(ispell-accept-buffer-local-defs) ; Use the correct dictionary.
(dolist (w checkdoc-ispell-lisp-words)
(process-send-string ispell-process (concat "@" w "\n"))))
(error (setq checkdoc-spellcheck-documentation-flag nil)))))