help-gnu-emacs
[Top][All Lists]
Advanced

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

RE: Compilation warnings of ELisp seem wrong and misleading


From: Ludwig, Mark
Subject: RE: Compilation warnings of ELisp seem wrong and misleading
Date: Mon, 30 Mar 2015 19:09:30 +0000

"address@hidden" wrote on Monday, March 30, 2015 12:00 PM
> 
> On Mon, Mar 30, 2015 at 03:40:21PM +0000, Ludwig, Mark wrote:
> > "Pascal J. Bourguignon" wrote:
> >
> > > "Ludwig, Mark" <address@hidden> writes:
> > >
> > > > I find my custom Elisp generates warnings that seem pretty stupid.
> > > > For example:
> > > >
> > > > emacs.el:255:10:Warning: reference to free variable `if'
> 
> Bizarre.
> 
[...]
> Here: you're in the middle of a `cond' and the clause reads "(if ...)". I'd
> expect `cond' to try to interpret "if" as a naked variable (granted, the error
> message points at another place).

Doh!  At a minimum, I guess there is a small bug in how
the warnings are reported.  Oh, well.

Thanks!

Mark


reply via email to

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