[Top][All Lists]

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

Re: Should `indirect-function' be preferred over `fboundp'?

From: Ihor Radchenko
Subject: Re: Should `indirect-function' be preferred over `fboundp'?
Date: Thu, 20 Jul 2023 08:25:22 +0000

Andreas Schwab <schwab@suse.de> writes:

> On Jul 20 2023, Ihor Radchenko wrote:
>> (I can see that `fboundp' is used all over Emacs git sources, while
>> `indirect-function' is rarely used)
> indirect-function used to signal an error when unbound.

AFAIU, it was very long time ago, before Emacs 26 at least. So, it is
now safe to assume that `indirect-function' can be used in place of
`fboundp' for most of the Emacs versions used in the wild.

Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

reply via email to

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