[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Byte compiling and semi-free variables
From: |
Juanma Barranquero |
Subject: |
Re: Byte compiling and semi-free variables |
Date: |
Sun, 28 Dec 2008 16:48:22 +0100 |
On Sun, Dec 28, 2008 at 16:39, Lennart Borgman
<address@hidden> wrote:
> Is there any way to avoid that warning?
You could use `with-no-warnings' (which is ugly):
(defun my-fun ()
(interactive)
(with-no-warnings
(setq my-internal-var 1)))
or add a local variable:
;;; Local Variables:
;;; byte-compile-warnings: (not free-vars)
;;; End:
which is uglier and affects every non-declared variable in the file.
Or you could just not order the definitions top-down.
Juanma