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: Fri, 30 Nov 2007 12:39:43 +0100

On Nov 30, 2007 12:26 PM, David Kastrup <address@hidden> wrote:

> I am actually surprised that this is supposedly not already the case:

It is, already. You're right and I'm sleepy.

But in a case like

 (defun test ()
   (if (bound-and-true-p my-dynamic-var)
       "right"
     "wrong"))

 (let ((my-dynamic-var t))
   (test))

the byte-compiler does not issue any warning now. It would in Yamamoto's case.

             Juanma




reply via email to

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