emacs-devel
[Top][All Lists]
Advanced

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

Re: unused local variables


From: 山本和彦
Subject: Re: unused local variables
Date: Fri, 30 Nov 2007 19:34:54 +0900 (JST)

> Are you saying that in
> 
>  (defun test ()
>    (if my-dynamic-var
>        "correct"
>      "erroneous"))
> 
>  (let ((my-dynamic-var t))
>    (test))
> 
> you would force my-dynamic-var to be `defvar'ed to avoid a 
> warning in the let?

I'm not sure the point of this example.

What I want to say is that case-fold-search in the following example
is not warned with XEmacs because it is defined with 'defvar'.

(let ((case-fold-search t))
     ;; code which does not directory refer to case-fold-search.
     )

--Kazu




reply via email to

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