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
commit7219db67a469aaa1470ef804e7daab3442151794 (patch)
treebbd9199e821c1baa9132c549189974544551b597 /man/fixit.texi
parentb9d391f75a8ed2056d1bcfe4b559ac6c6387de5a (diff)
downloademacs-7219db67a469aaa1470ef804e7daab3442151794.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