]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of Text Mode
authorEli Zaretskii <eliz@gnu.org>
Mon, 8 Apr 2024 18:02:01 +0000 (21:02 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 10 Apr 2024 20:28:41 +0000 (22:28 +0200)
* doc/emacs/text.texi (Text Mode): Improve indexing.  Document
'text-mode-ispell-word-completion'.

(cherry picked from commit 6c9855d3364b4e9b18d436aa1d6490e004d05d7b)

doc/emacs/text.texi

index cb347d5994857c4d34aca3ca5a7cd73b16b0a461..f5e31fd277f605d5df68095eaeb8c13238b63a35 100644 (file)
@@ -943,12 +943,15 @@ situations where you shouldn't change the major mode---in mail
 composition, for instance.
 
 @kindex M-TAB @r{(Text mode)}
+@findex completion-at-point@r{, in Text Mode}
+@vindex text-mode-ispell-word-completion
   The command @kbd{M-@key{TAB}} (@code{completion-at-point}) performs
 completion of the partial word in the buffer before point, using the
 spelling dictionary as the space of possible words by default.
 @xref{Spelling}.  If your window manager defines @kbd{M-@key{TAB}} to
 switch windows, you can type @kbd{@key{ESC} @key{TAB}} or @kbd{C-M-i}
-instead.
+instead.  To disable this completion, customize the variable
+@code{text-mode-ispell-word-completion} to the @code{nil} value.
 
 @vindex text-mode-hook
   Entering Text mode runs the mode hook @code{text-mode-hook}