[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a `find-function-noselect' that does not resolve aliases?
From: |
Stefan Monnier |
Subject: |
Re: Is there a `find-function-noselect' that does not resolve aliases? |
Date: |
Tue, 18 Jan 2022 15:10:55 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> `push-button', and I've tried to understand the code of `push-button'
> and `help-function-def--button-function', but I'm stuck. Or rather: my
But `help-function-def--button-function` has your answer (that's code
used by `C-h f`):
[...]
;; Don't use find-function-noselect because it follows
;; aliases (which fails for built-in functions).
(let* ((location
(find-function-search-for-symbol fun type file))
[...]
>From where I sit, it looks like we should change
`find-function-noselect` so it doesn't follow aliases.
Stefan