]> git.eshelyaron.com Git - emacs.git/commitdiff
Describe Flyspell Prog mode.
authorRichard M. Stallman <rms@gnu.org>
Mon, 16 Sep 2002 15:18:24 +0000 (15:18 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 16 Sep 2002 15:18:24 +0000 (15:18 +0000)
man/fixit.texi

index b272197ee1f67a706ef41abfc842297a4b403524..a4b843f07b53a3cc00064edf98a865a2b9ab4993 100644 (file)
@@ -159,6 +159,8 @@ checker program Ispell, which is not part of Emacs.
 @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 @@ it with @kbd{Mouse-2} to display a menu of possible corrections and
 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