diff --git a/etc/NEWS b/etc/NEWS index 8957534d238..1651a13e88e 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -612,10 +612,10 @@ Otherwise, if set to 'full', display the full docstring. --- *** New user option 'elisp-eldoc-docstring-length-limit'. -This user option controls maximum docstring character limit displayed by -'elisp-eldoc-funcall-with-docstring' and -'elisp-eldoc-var-docstring-with-value'. By default it is set to 1000 -characters +This user option controls the maximum length of doc strings in character +units that 'elisp-eldoc-funcall-with-docstring' and +'elisp-eldoc-var-docstring-with-value' will shopw. By default it is set +to 1000 characters. ** Buffer Menu diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index bcd6d02ae8f..5dc6a748e31 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -1846,7 +1846,7 @@ Intended for `eldoc-documentation-functions' (which see)." 'font-lock-keyword-face))))) (defcustom elisp-eldoc-docstring-length-limit 1000 - "Maximum docstring character limit displayed by elisp eldoc functions." + "Maximum length of doc strings displayed by elisp ElDoc functions." :type 'natnum :group 'elisp :version "31.1")