# HG changeset patch # User Richard M. Stallman # Date 1032189504 0 # Node ID c0b4dc1b74142aae1f573cd60f2eea0547b59f7f # Parent 864e328bbca7a734cbb3543c24989e4b7709a9be Describe Flyspell Prog mode. diff -r 864e328bbca7 -r c0b4dc1b7414 man/fixit.texi --- a/man/fixit.texi Mon Sep 16 14:54:15 2002 +0000 +++ b/man/fixit.texi Mon Sep 16 15:18:24 2002 +0000 @@ -159,6 +159,8 @@ @table @kbd @item M-x flyspell-mode Enable Flyspell mode, which highlights all misspelled words. +@item M-x flyspell-progmode +Enable Flyspell mode for comments and strings only. @item M-$ Check and correct spelling of the word at point (@code{ispell-word}). @item M-@key{TAB} @@ -193,6 +195,12 @@ actions. You can also correct the word by editing it manually in any way you like. +@findex flyspell-prog-mode +Flyspell Prog mode works just like ordinary Flyspell mode, except that +it only checks words in comments and string constants. This feature +is useful for editing programs. Type @kbd{M-x flyspell-prog-mode} to +enable or disable this mode in the current buffer. + The other Emacs spell-checking features check or look up words when you give an explicit command to do so. Checking all or part of the buffer is useful when you have text that was written outside of this