emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] New convenience macros


From: Johan Bockgård
Subject: Re: [PATCH] New convenience macros
Date: Thu, 23 Aug 2007 16:12:30 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Steve Youngs <address@hidden> writes:

> However, there are situations where this optimisation won't work,
> here's an example...
>
>   (if (and (featurep 'simple) (featurep 'xemacs)) a b)
>
> warns about free variables for both `a' and `b'.  So I think having the
> macros as well as the optimisation is a good idea.

It does the right thing if you reverse the order of the feature tests.

The compiler could do better though.

-- 
Johan Bockgård





reply via email to

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