* Georg Brandl (2007-06-07) writes:

> is there any way to customize what document parts are ignored in the spell
> checking process?
>
> Specifically, I'd want to not check the contents of alltt environments, as
> well as a few user-defined commands that mark up words that almost always
> have "invalid" spelling...

For the alltt environments you could use something like this:

(eval-after-load "ispell"
  '(let ((list (cadr ispell-tex-skip-alists)))
     (add-to-list 'list '("alltt" . "\\\\end[ \t\n]*{[ \t\n]*alltt[ \t\n]*}"))
     (setcdr ispell-tex-skip-alists (list list))))

Note, this is not related to AUCTeX.

-- 
Ralf


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to