We currenly have (eval-after-load file form), what about:
 
   (eval-before-load file form)
 
to make things easier?

 
2008/3/31, paul r <paul.r.ml@gmail.com>:
2008/3/30, Stefan Monnier <monnier@iro.umontreal.ca>:
> > I think of autoload as a particular case of the general need to
>  > "eval-on-event-then-call". Therefore, I do not see why evaluating a
>  > form is less simple than loading a file. Form evaluation is, indeed,
>  > less limited but I don't see why it should be a disadvantage here.
>
>
> By the way, instead of
>
>   (autoload <fun> <exp> <doc>)
>
>  you can do
>
>   (defun <fun> (&rest args)
>     <doc>
>     <exp>
>     (apply <fun> args))
>

I needed to do a macro for that, because <fun> name is known at
runtime, but at the end it works.
Thank you.
 
--
Levin