changeset 47501:c0b4dc1b7414

Describe Flyspell Prog mode.
author Richard M. Stallman <rms@gnu.org>
date Mon, 16 Sep 2002 15:18:24 +0000
parents 864e328bbca7
children e8faddf96f0f
files man/fixit.texi
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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