From 7219db67a469aaa1470ef804e7daab3442151794 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 16 Sep 2002 15:18:24 +0000 Subject: [PATCH] Describe Flyspell Prog mode. --- man/fixit.texi | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5