]> git.eshelyaron.com Git - emacs.git/commit
Add variable for control docstring length in elisp eldoc functions
authorElías Gabriel Pérez <eg642616@gmail.com>
Tue, 8 Apr 2025 05:00:20 +0000 (23:00 -0600)
committerEshel Yaron <me@eshelyaron.com>
Sun, 13 Apr 2025 21:00:10 +0000 (23:00 +0200)
commit5ff2c18f41eb16df6c2e0b1ad4e3552cff31c4d8
treefc6e6d3455114bf134c8f3c5851b09dbf10c88e9
parent9ba0c53701f1f9b58f8ac5d319e56c297c6135d5
Add variable for control docstring length in elisp eldoc functions

* etc/NEWS: Announce new variable.
* lisp/progmodes/elisp-mode.el (elisp-eldoc-docstring-length-limit):
New user option.
(elisp-eldoc-funcall-with-docstring): Add "Undocumented" as
docstring if the function has no docstring.
(elisp-eldoc-var-docstring-with-value): Use
`elisp-eldoc-docstring-length-limit'.  (Bug#77628)

(cherry picked from commit 53bd9f54c61d5edac8b04cc6b72aadb48466110e)
lisp/progmodes/elisp-mode.el