emacs-devel
[Top][All Lists]
Advanced

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

Re: Feature Request : autoload-form


From: Richard Stallman
Subject: Re: Feature Request : autoload-form
Date: Sun, 30 Mar 2008 01:49:49 -0400

    > (autoload foo "bar.el")
    > (autoload-form foo (load-file "bar.el"))

    You could just change autoload to do that.  It's a pretty simple change
    in the C code.

I don't think we should install this in Emacs, though.  Something like
autoload should be kept simple and limited.

If loading a certain file needs load-path to be set a certain way,
the user should simply set load-path that way, perhaps in .emacs.
It is a bad idea to have files that only work right if load-path
is temporarily changed; rather than adding a new file to Emacs
to cope with that situation, it would be better to redesign the
Lisp code that appears to need it.




reply via email to

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