From: Sebastian Tennant <sebyte@smolny.plus.com>
To: help-gnu-emacs@gnu.org
Subject: Re: An alternative to a monolithic ~/.emacs init file
Date: Tue, 30 Oct 2007 22:30:09 +0200 [thread overview]
Message-ID: <87hck8jqge.fsf@moley.moleskin.org> (raw)
In-Reply-To: 87fxzs4pa4.fsf@moley.moleskin.org
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
next prev parent reply other threads:[~2007-10-30 20:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-30 15:04 An alternative to a monolithic ~/.emacs init file Sebastian Tennant
2007-10-30 20:30 ` Sebastian Tennant [this message]
[not found] <mailman.2759.1193756709.18990.help-gnu-emacs@gnu.org>
2007-11-07 17:13 ` rustom
2007-11-08 13:08 ` Sebastian Tennant
[not found] ` <mailman.3126.1194527313.18990.help-gnu-emacs@gnu.org>
2007-11-08 19:53 ` rustom
2007-11-09 14:18 ` Sebastian Tennant
[not found] ` <mailman.3180.1194617919.18990.help-gnu-emacs@gnu.org>
2007-11-10 12:18 ` rustom
2007-11-10 17:13 ` Tom Tromey
[not found] ` <mailman.3247.1194750639.18990.help-gnu-emacs@gnu.org>
2007-11-11 15:29 ` rustom
2007-11-12 21:56 ` Tim X
2007-11-13 4:21 ` rustom
2007-11-13 9:26 ` Tim X
2007-11-14 3:52 ` rustom
2007-11-13 1:22 ` rustom
2007-11-11 0:09 ` Francisco Miguel Colaço
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hck8jqge.fsf@moley.moleskin.org \
--to=sebyte@smolny.plus.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).