Function: tex-mode-flyspell-verify

tex-mode-flyspell-verify is a byte-compiled function defined in flyspell.el.gz.

Signature

(tex-mode-flyspell-verify)

Documentation

Function used for flyspell-generic-check-word-predicate in LaTeX mode.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/flyspell.el.gz
(defun tex-mode-flyspell-verify ()
  "Function used for `flyspell-generic-check-word-predicate' in LaTeX mode."
  (and
   (not (save-excursion
	  (re-search-backward "^[ \t]*%%%[ \t]+Local" nil t)))
   (not (save-excursion
	  (let ((this (point)))
	    (beginning-of-line)
	    (and (re-search-forward "\\\\\\(cite\\|label\\|ref\\){[^}]*}"
				    (line-end-position) t)
		 (>= this (match-beginning 0))
		 (<= this (match-end 0))))))))