emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 5c77aed2d6: Mention flyspell-prog-mode in flyspell-mode doc str


From: Lars Ingebrigtsen
Subject: emacs-28 5c77aed2d6: Mention flyspell-prog-mode in flyspell-mode doc string
Date: Thu, 24 Feb 2022 04:13:18 -0500 (EST)

branch: emacs-28
commit 5c77aed2d627eba140729824cc41c91905aac52d
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 6d9b93a887..21612cd5e3 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]