emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature Request : autoload-form


From: Stefan Monnier
Subject: Re: Feature Request : autoload-form
Date: Sun, 30 Mar 2008 11:03:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> 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))


-- Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]