emacs-devel
[Top][All Lists]
Advanced

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

Re: unused local variables


From: Juanma Barranquero
Subject: Re: unused local variables
Date: Mon, 3 Dec 2007 10:50:04 +0100

On Dec 3, 2007 3:30 AM, 山本和彦 Kazu Yamamoto <address@hidden> wrote:

> To suppress warnings of <3>, there would be two options:
>
> (1) Provide a option to suppress unused local variables (both <2> and
>     <3>). It means that this option does not change Emacs's current
>     behavior.
>
> (2) Prepare a *temporary* defvar for <3> when byte-compiling only for
>    detection purpose. After removing <2>, you can byte-compile without
>    the temporary defvar (and ignoring a warning) and install the elc
>    file.

How will you distinguish between <2> and <3> when my-func1 could be in
another elisp file altogether?

             Juanma

reply via email to

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