emacs-devel
[Top][All Lists]
Advanced

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

Re: master c8a2af3037 1/3: Add new function function-alias-p


From: Stefan Monnier
Subject: Re: master c8a2af3037 1/3: Add new function function-alias-p
Date: Thu, 13 Jan 2022 10:39:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> +@example
> +(function-alias-p 'a)
> +    @result{} (b c)
> +@end example

Hmm... would it make sense to return `(b c . <foo>)` where <foo> is the
"last, non-symbol, value", i.e. (symbol-function 'c)?

It seems in most cases where we'd use `function-alias-p` we want to
follow the trail of aliases and then do something on the final
non-alias definition.


        Stefan




reply via email to

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