summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-02-24 10:10:40 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-02-24 10:10:40 +0100
commit5c77aed2d627eba140729824cc41c91905aac52d (patch)
tree022cff314e0784e307f572f851928edd10b2391e
parent5942504391df1b81ded820f9c8cd3047a05f3543 (diff)
downloademacs-5c77aed2d627eba140729824cc41c91905aac52d.tar.gz
Mention flyspell-prog-mode in flyspell-mode doc string
* lisp/textmodes/flyspell.el (flyspell-mode): Mention flyspell-prog-mode (bug#54131).
-rw-r--r--lisp/textmodes/flyspell.el3
1 files changed, 3 insertions, 0 deletions
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.