From f5b59a8a7318d611a04ef32f4042e3ca9bd1b315 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 13 Apr 2025 13:03:03 +0300 Subject: [PATCH] ; Fix last change * lisp/progmodes/elisp-mode.el (elisp-eldoc-docstring-length-limit): * etc/NEWS: Fix documentation of last change. (Bug#77628) --- etc/NEWS | 8 ++++---- lisp/progmodes/elisp-mode.el | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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")