From: Lars Ingebrigtsen Date: Thu, 24 Feb 2022 09:10:40 +0000 (+0100) Subject: Mention flyspell-prog-mode in flyspell-mode doc string X-Git-Tag: emacs-28.0.92~28 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5c77aed2d627eba140729824cc41c91905aac52d;p=emacs.git Mention flyspell-prog-mode in flyspell-mode doc string * lisp/textmodes/flyspell.el (flyspell-mode): Mention flyspell-prog-mode (bug#54131). --- diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 6d9b93a887d..21612cd5e38 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -489,6 +489,9 @@ Flyspell mode is a buffer-local minor mode. When enabled, it spawns a single Ispell process and checks each word. The default flyspell behavior is to highlight incorrect words. +This mode is geared toward text modes. In buffers that contain +code, `flyspell-prog-mode' is usually a better choice. + Bindings: \\[ispell-word]: correct words (using Ispell). \\[flyspell-auto-correct-word]: automatically correct word.