emacs-devel
[Top][All Lists]
Advanced

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

Re: (featurep 'multi-tty) => t on Windows


From: Eli Zaretskii
Subject: Re: (featurep 'multi-tty) => t on Windows
Date: Fri, 12 Dec 2008 21:43:40 -0500

> Date: Sat, 13 Dec 2008 00:50:34 +0100
> From: "Juanma Barranquero" <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> 
> I know. But there's a difference between
> 
>    (if (fboundp 'whatever)
>        (whatever ...))
> 
> and
> 
>   (if (fboundp 'whatever)
>       (something-else...))
> 
> Checking for a function before using it is clean. Checking for a
> function or a variable, as a way to know whether some "pack" of new
> features are installed, is not.

And how exactly is

    (if (featurep 'foo)
        (something))

cleaner than the latter?




reply via email to

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