Improve documentation of Flyspell
For the background, see http://lists.gnu.org/archive/html/help-gnu-emacs/2018-07/msg00099.html. * doc/emacs/fixit.texi (Spelling): Add a couple of caveats. * lisp/textmodes/flyspell.el: Update commentary.
This commit is contained in:
@@ -408,11 +408,15 @@ dictionary.
|
||||
@cindex mode, Flyspell
|
||||
@findex flyspell-mode
|
||||
Flyspell mode is a minor mode that performs automatic spell-checking
|
||||
as you type. When it finds a word that it does not recognize, it
|
||||
highlights that word. Type @kbd{M-x flyspell-mode} to toggle Flyspell
|
||||
mode in the current buffer. To enable Flyspell mode in all text mode
|
||||
buffers, add @code{flyspell-mode} to @code{text-mode-hook}.
|
||||
@xref{Hooks}.
|
||||
of the text you type as you type it. When it finds a word that it
|
||||
does not recognize, it highlights that word. Type @kbd{M-x
|
||||
flyspell-mode} to toggle Flyspell mode in the current buffer. To
|
||||
enable Flyspell mode in all text mode buffers, add
|
||||
@code{flyspell-mode} to @code{text-mode-hook}. @xref{Hooks}. Note
|
||||
that, as Flyspell mode needs to check each word across which you move,
|
||||
it will slow down cursor motion and scrolling commands. It also
|
||||
doesn't automatically check the text you didn't type or move across;
|
||||
use @code{flyspell-region} or @code{flyspell-buffer} for that.
|
||||
|
||||
@findex flyspell-correct-word
|
||||
@findex flyspell-auto-correct-word
|
||||
|
||||
@@ -31,10 +31,10 @@
|
||||
;;
|
||||
;; To enable Flyspell in text representing computer programs, type
|
||||
;; M-x flyspell-prog-mode.
|
||||
;; In that mode only text inside comments is checked.
|
||||
;; In that mode only text inside comments and strings is checked.
|
||||
;;
|
||||
;; Some user variables control the behavior of flyspell. They are
|
||||
;; those defined under the `User variables' comment.
|
||||
;; those defined under the `User configuration' comment.
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user