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: Emanuel Berg
Subject: Re: How does `describe-function' know where the source code of the function is?
Date: Mon, 17 Jan 2022 05:14:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Marcin Borkowski wrote:

> If I define a function with `defun', C-h f gives me a link
> to the source code of the function. I defined a macro
> defining a function (its expansion contained a `defun'), and
> C-h f'ing that function did /not/ give me that link. I tried
> saying M-: (symbol-plist 'my-function), but I haven't seen
> any property that would point to the source code. So, my
> question is: how does `describe-function' know where the
> link should point to (and if it should be rendered at all)?

Isn't the help system fed data when the defun is evaluated?

After that it's too late to find out :)

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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