On Nov 30, 2007 10:27 AM, 山本和彦 Kazu Yamamoto wrote: > XEmacs warns unused local variables as if they are statically bound. > Also XEmacs does not warns unused local variables if they are > also globally defined. 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? Juanma