GNU bug report logs - #77628
[PATCH] ; Fix `elisp-eldoc-funcall-with-docstring' when fn has no docstring.

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Tue, 8 Apr 2025 05:08:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 77628 <at> debbugs.gnu.org
Subject: bug#77628: [PATCH] ; Fix `elisp-eldoc-funcall-with-docstring' when fn has no docstring.
Date: Sat, 12 Apr 2025 12:23:06 -0600
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
>> Date: Mon, 07 Apr 2025 23:08:18 -0600
>> 
>> * lisp/progmodes/elisp-mode.el (elisp-eldoc-funcall-with-docstring):
>> Add "Undocumented" as docstring if the function as no docstring,
>> and limit docstring length to 1000 characters.  (bug#)
>
> Thanks, but should 1000 be hard-coded, or should we perhaps have a
> variable for it?

I've added a variable for limit both
`elisp-eldoc-funcall-with-docstring' and
`elisp-eldoc-var-docstring-with-value'.

`elisp-eldoc-var-docstring-with-value' also set a limit.

[0001-Add-variable-for-control-docstring-length-in-elisp-e.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
-- 
                                          - E.G via GNU Emacs and Org.

This bug report was last modified 94 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.