Mention flyspell-prog-mode in flyspell-mode doc string

* lisp/textmodes/flyspell.el (flyspell-mode): Mention
flyspell-prog-mode (bug#54131).
This commit is contained in:
Lars Ingebrigtsen 2022-02-24 10:10:40 +01:00
parent 5942504391
commit 5c77aed2d6

View file

@ -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 spawns a single Ispell process and checks each word. The default
flyspell behavior is to highlight incorrect words. 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: Bindings:
\\[ispell-word]: correct words (using Ispell). \\[ispell-word]: correct words (using Ispell).
\\[flyspell-auto-correct-word]: automatically correct word. \\[flyspell-auto-correct-word]: automatically correct word.