From 5c77aed2d627eba140729824cc41c91905aac52d Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 24 Feb 2022 10:10:40 +0100 Subject: [PATCH] Mention flyspell-prog-mode in flyspell-mode doc string * lisp/textmodes/flyspell.el (flyspell-mode): Mention flyspell-prog-mode (bug#54131). --- lisp/textmodes/flyspell.el | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.39.2