Improve documentation of Text Mode

* doc/emacs/text.texi (Text Mode): Improve indexing.  Document
'text-mode-ispell-word-completion'.
This commit is contained in:
Eli Zaretskii 2024-04-08 21:02:01 +03:00
parent dc5fe95a48
commit 6c9855d336

View 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}