From 4715abd5d95186785916e029b85b7a77a26a8a4e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 8 Apr 2024 21:02:01 +0300 Subject: [PATCH] Improve documentation of Text Mode * doc/emacs/text.texi (Text Mode): Improve indexing. Document 'text-mode-ispell-word-completion'. (cherry picked from commit 6c9855d3364b4e9b18d436aa1d6490e004d05d7b) --- doc/emacs/text.texi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index cb347d59948..f5e31fd277f 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi @@ -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} -- 2.39.5