Function: sgml-mode-flyspell-verify
sgml-mode-flyspell-verify is a byte-compiled function defined in
flyspell.el.gz.
Signature
(sgml-mode-flyspell-verify)
Documentation
Function used for flyspell-generic-check-word-predicate in SGML mode.
Tag and attribute names are not spell checked, everything else is.
String values of attributes are checked because they can be text like <img alt="Some thing.">.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/flyspell.el.gz
(defun sgml-mode-flyspell-verify ()
"Function used for `flyspell-generic-check-word-predicate' in SGML mode.
Tag and attribute names are not spell checked, everything else is.
String values of attributes are checked because they can be text
like <img alt=\"Some thing.\">."
(not (memq (car (sgml-lexical-context))
'(tag pi))))