>>>> "drv" == Didier Verna
<didier(a)xemacs.org> writes:
drv> It seems that a (require 'something) line in a file is executed
during
drv> byte-compilation. That seems wrong to me, since if that is really what you
drv> want, you can 'eval-and-compile it.
drv> Is it a bug or am I missing something ?
This is the way it has always been.
Lispref says:
The Compilation Functions
=========================
...
Normally, compiling a file does not evaluate the file's contents or
load the file. But it does execute any `require' calls at top level in
the file. One way to ensure that necessary macro definitions are
available during compilation is to `require' the file that defines them
(*note Named Features::). To avoid loading the macro definition files
when someone _runs_ the compiled program, write `eval-when-compile'
around the `require' calls (*note Eval During Compile::).