Search code examples
emacslatexspell-checkingispell

How to ignore comments in the LaTeX file with ispell (within Emacs if possible)


I'm writing a text with Latex in English but written my comments in Finnish. When I'm running the spell checking with ispell, I got to run through all the comments. Is there a handy way to skip the comments with the ispell? If that could be done with emacs, that would be double handy =)

One way would be to run the ispell within console and process the input with sed, for example, but I'd like to have my changes straight on the file...


Solution

  • (setq ispell-check-comments nil)