Function: flyspell-check-changed-word-p
flyspell-check-changed-word-p is a byte-compiled function defined in
flyspell.el.gz.
Signature
(flyspell-check-changed-word-p START STOP)
Documentation
Return non-nil when the changed word has to be checked.
The answer depends of several criteria. Mostly we check word delimiters.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/flyspell.el.gz
;;*---------------------------------------------------------------------*/
;;* flyspell-check-changed-word-p ... */
;;*---------------------------------------------------------------------*/
(defun flyspell-check-changed-word-p (start stop)
"Return non-nil when the changed word has to be checked.
The answer depends of several criteria.
Mostly we check word delimiters."
(not (and (not (and (memq (char-after start) '(?\n ? )) (> stop start)))
(numberp flyspell-pre-point)
(or
(and (>= flyspell-pre-point start) (<= flyspell-pre-point stop))
(let ((pos (point)))
(or (>= pos start) (<= pos stop) (= pos (1+ stop))))))))