1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Automatically document when setopt is needed

* lisp/help-fns.el (help--recommend-setopt): New function to
automatically document the need to use `setopt` to set the values of
any defcustoms with a `:set` property.
(help-fns-describe-variable-functions): Add above new function to
hook.

* lisp/follow.el (follow-mode-prefix-key):
* lisp/minibuffer.el (minibuffer-regexp-prompts):
* lisp/register.el (register-use-preview):
* lisp/savehist.el (savehist-autosave-interval):
* lisp/saveplace.el (save-place-autosave-interval):
* lisp/tab-bar.el (tab-bar-define-keys):
* lisp/textmodes/text-mode.el (text-mode-ispell-word-completion):
Delete now redundant text from docstrings.
This commit is contained in:
Stefan Kangas 2025-03-12 00:04:50 +01:00
parent f4b20c3f76
commit 77b7e2d37b
9 changed files with 29 additions and 23 deletions

View file

@ -83,10 +83,7 @@ means that Text mode adds an Ispell word completion function to
`completion-at-point-functions'. Any other non-nil value says to
bind M-TAB directly to `ispell-complete-word' instead. If this
is nil, Text mode neither binds M-TAB to `ispell-complete-word'
nor does it extend `completion-at-point-functions'.
This user option only takes effect when you customize it in
Custom or with `setopt', not with `setq'."
nor does it extend `completion-at-point-functions'."
:group 'text
:type '(choice (const completion-at-point) boolean)
:version "30.1"