[Top][All Lists]

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

Re: autoload

From: Stefan Monnier
Subject: Re: autoload
Date: Mon, 24 Jan 2011 12:28:00 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>>> I just spent the past few hours constructing various scripts to
>>> automatically byte compile the new files
>> As in byte-recompile-directory?
> Roughtly.  but batch-byte-recompile-directory does not create the elc if it
> doesn't already exist unless you wrap it.  So I wrote:

> (defun batch-byte-recompile-directory-all ()
>   (batch-byte-recompile-directory 0))

IIRC you can use

    --eval "(batch-byte-recompile-directory 0)"

so you don't have to define a new function.

>>> and also create a myautoloads.el file that I load at startup.
>> As in update-directory-autoloads?
> Again... roughly but you have to wrap it so that the autoloads go to
> a local file:

Right, and there as well you can use

  --eval "(setq generated-autoload-file \"`pwd`/myloaddefs.el\")"

> Oh... And update-directory-autoloads doesn't walk down the tree...

Good point.


reply via email to

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