|
From: | Drew Adams |
Subject: | RE: Avoiding 'reference to free variable' warnings while splittingelisp source files |
Date: | Sat, 23 Mar 2013 09:19:30 -0700 |
> Is there a sane way to split the source of an elisp file > while avoiding the 'reference to free variable' warnings > when byte-compiling? > > The problem arises when a variable defined in one file > is used in another. How does one avoid those errors? Use a vacuous definition: (defvar the-variable) See (elisp) `Defining Variables': This form defines `foo' but does not initialize it: (defvar foo) => foo
[Prev in Thread] | Current Thread | [Next in Thread] |