diff options
author | Eshel Yaron <me@eshelyaron.com> | 2024-05-23 21:59:38 +0200 |
---|---|---|
committer | Eshel Yaron <me@eshelyaron.com> | 2024-05-23 22:14:14 +0200 |
commit | 9d3fb195af40f26a3751c368af55677667af3eba (patch) | |
tree | 55f66d6487b5bb12b67526557f5bcbe89a1216c7 /lisp/emacs-lisp/lisp.el | |
parent | 52acabcbe8eeb688640e18884ba8a15635ca7062 (diff) | |
download | emacs-9d3fb195af40f26a3751c368af55677667af3eba.tar.gz emacs-9d3fb195af40f26a3751c368af55677667af3eba.tar.bz2 emacs-9d3fb195af40f26a3751c368af55677667af3eba.zip |
Fix argument name highlighting in 'describe-function' output
This fixes a regression introduced in
dd38097f0b9458eea882043fa06b27248e505b22, which prevented proper
argument name highlighting in function docstrings in the output
buffer of 'describe-function'.
* lisp/help-fns.el (help-do-arg-highlight): New optional arg
that says if we're highlighting arguments in the usage string or
in the docstring. Tweak generated regex to only expect argument
name to be preceded by function name in usage string.
(help-highlight-arguments): Use new argument for usage string.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions