]> git.eshelyaron.com Git - emacs.git/commit
Fix regexp in help-do-arg-highlight
authorEshel Yaron <me@eshelyaron.com>
Mon, 28 Aug 2023 11:43:52 +0000 (13:43 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 1 Sep 2023 18:29:27 +0000 (20:29 +0200)
commitdd38097f0b9458eea882043fa06b27248e505b22
tree9e4b5df633544274476c2a54c06f243bd949aace
parentda8b323f82417697f9b772689810099f426fe616
Fix regexp in help-do-arg-highlight

* lisp/help-fns.el (help-do-arg-highlight): Fix regexp.  (Bug#65580)

Avoid highlighting (parts of) the function name as arguments in the
output of 'describe-function' when the function has an argument with
the same name.  To achieve this, refine the regular expression that
'help-do-arg-highlight' uses such that it doesn't match anything in
the function name.
lisp/help-fns.el