help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does `describe-function' know where the source code of the funct


From: Stefan Monnier
Subject: Re: How does `describe-function' know where the source code of the function is?
Date: Mon, 17 Jan 2022 21:51:58 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> question is: how does `describe-function' know where the link should
> point to (and if it should be rendered at all)?  I skimmed its source

The name of the file is stored in `load-history`.  The function
definition itself is then found (or not) by a naive regexp search.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]