help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: An alternative to a monolithic ~/.emacs init file


From: Sebastian Tennant
Subject: Re: An alternative to a monolithic ~/.emacs init file
Date: Tue, 30 Oct 2007 22:30:09 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Quoth Sebastian Tennant <sebyte@smolny.plus.com>:
>  ;;; generate auto-autoloads.el in ~/elisp/dotemacs/
>  (let ((generated-autoload-file "~/elisp/dotemacs/auto-autoloads.el")
>        (backup-inhibited t))
>    (apply 'update-directory-autoloads '("~/elisp/lib/"))
>    (kill-buffer (file-name-nondirectory generated-autoload-file)))

No need to write:

  (apply 'update-directory-autoloads '("~/elisp/lib"))

(I originally wanted to call update-directory-autoloads on a list of
 directories, dynamically generated at startup.)

A simple:

  (update-directory-autoloads "~/elisp/lib") 

will suffice.

Sebastian





reply via email to

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