Subject: Re: bug#30230: 27.0.50; find-face-definition wrong result for default face

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 25 Jun 2021 17:17:44 +0200

"Basil L. Contovounesios" <[email-masked]> writes:

> 2. Replace find-face-regexp in find-function-regexp-alist with a
>    function which repeats the find-face-regexp search until point is
>    actually at a defface.

I've now done this in Emacs 28 for defface.  An even more general
solution would be to change `find-function-search-for-symbol' to ignore
all matches that are inside comments or strings, but I didn't feel
familiar enough with all the use cases here to do that.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no