emacs-devel
[Top][All Lists]
Advanced

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

Re: unused local variables


From: Stefan Monnier
Subject: Re: unused local variables
Date: Fri, 30 Nov 2007 22:17:34 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>> Right.  So you're OK with adding (defvar my-dynamic-var) in one of the
>> files but not in both?  Why is that?

> I'm not really opposing. I don't like warnings, nor programming errors
> caused by subtle interactions (or unexpected ones). Once again: I like
> lexically scoped languages (Scheme excluded).  I'm just not sure
> littering packages with (defvar var) or (declare-function function) is
> better.  It certainly doesn't look clean.

I can assure you that warning about unused vars will only require very
few extra defvars.


        Stefan




reply via email to

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