summaryrefslogtreecommitdiff
path: root/man/fixit.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-09-16 15:18:24 +0000
committerRichard M. Stallman <rms@gnu.org>2002-09-16 15:18:24 +0000
commitb6377060243591d9ddf70616a43f14e42ecef5dd (patch)
tree86f56fd1cbc65a3535248fbc3d1a7487366c4d1a /man/fixit.texi
parentdd051ead294b335fb8dd77894c894cbe31372065 (diff)
downloademacs-b6377060243591d9ddf70616a43f14e42ecef5dd.tar.gz
Describe Flyspell Prog mode.
Diffstat (limited to 'man/fixit.texi')
-rw-r--r--man/fixit.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/man/fixit.texi b/man/fixit.texi
index b272197ee1f..a4b843f07b5 100644
--- a/man/fixit.texi
+++ b/man/fixit.texi
@@ -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