Variable: ispell-skip-html

ispell-skip-html is a customizable and buffer-local variable defined in ispell.el.gz.

Documentation

Indicates whether ispell should skip spell checking of SGML markup.

If t, always skip SGML markup; if nil, never skip; if non-t and non-nil, guess whether SGML markup should be skipped according to the name of the buffer's major mode.

SGML markup is any text inside the brackets "<>" or entities such as "&amp;". See ispell-html-skip-alists for more details.

This variable affects spell-checking of HTML, XML, and SGML files.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/ispell.el.gz
(defcustom ispell-skip-html 'use-mode-name
  "Indicates whether ispell should skip spell checking of SGML markup.
If t, always skip SGML markup; if nil, never skip; if non-t and non-nil,
guess whether SGML markup should be skipped according to the name of the
buffer's major mode.

SGML markup is any text inside the brackets \"<>\" or entities
such as \"&amp;\".  See `ispell-html-skip-alists' for more details.

This variable affects spell-checking of HTML, XML, and SGML files."
  :type '(choice (const :tag "always" t) (const :tag "never" nil)
                 (const :tag "use-mode-name" use-mode-name)))