1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Clarify checkdoc-max-keyref-before-warn docstring

* lisp/emacs-lisp/checkdoc.el (checkdoc-max-keyref-before-warn): Clarify
and reflow docstring.  Fix warning about overly long docstring.
This commit is contained in:
Stefan Kangas 2024-07-07 12:45:03 +02:00
parent b249f022f1
commit 9fcee3c1d1

View File

@ -262,14 +262,15 @@ with these words enabled."
;;;###autoload(put 'checkdoc-ispell-list-words 'safe-local-variable #'list-of-strings-p)
(defcustom checkdoc-max-keyref-before-warn nil
"If non-nil, number of \\\\=[command-to-keystroke] tokens allowed in a doc string.
Any more than this and a warning is generated suggesting that the construct
\\\\={mapvar} be used instead. If the value is nil, never warn.
"Maximum number of \\\\=[command-to-keystroke] tokens allowed in a doc string.
It used to not be practical to use `\\\\=[...]' very many times,
because display of the documentation string would become slow.
This is not an issue on modern machines, unless you have
thousands of substitutions."
Any more than this and a warning is generated suggesting that the
construct \\\\={mapvar} be used instead. If the value is nil, never
warn.
It used to be impractical to use `\\\\=[...]' very many times, because
display of the documentation string would become slow. This is not an
issue on modern machines, unless you have thousands of substitutions."
:type '(choice (const nil)
integer)
:version "28.1")