Optionally avoid extending 'completion-at-point-functions'
authorEshel Yaron <me@eshelyaron.com>
Sat, 20 Jan 2024 11:24:32 +0000 (12:24 +0100)
committerEli Zaretskii <eliz@gnu.org>
Sat, 27 Jan 2024 09:53:17 +0000 (11:53 +0200)
commitf0c573d8069f7ee654a550ae3d148325c49900a3
tree5b885414336a5f9169abbd199e47ed9d2bbd1aa9
parentfa7543eeb72342544d324a54010b6cb96c246733
Optionally avoid extending 'completion-at-point-functions'

It is now possible to avoid extending
'completion-at-point-functions' in Text mode and its descendants.
* lisp/textmodes/text-mode.el
(text-mode-meta-tab-ispell-complete-word): Rename to...
(text-mode-ispell-word-completion): ...this.  Extend with another
option 'completion-at-point'.
(text-mode): Only extend 'completion-at-point-functions' when
'text-mode-ispell-word-completion' is 'completion-at-point'.
(Bug#67527)

* etc/NEWS: Update the entry about 'M-TAB' in Text mode.
etc/NEWS
lisp/textmodes/text-mode.el