From: "Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: for loading own lisp functions, if some in separated files, automatically
Date: Wed, 15 Jul 2009 00:05:34 +0100 [thread overview]
Message-ID: <4a5d0f26$0$48241$14726298@news.sunsite.dk> (raw)
In-Reply-To: <1247593396.497447@news.aic.at>
Erhy wrote:
>
> So I see, there is a dir with .el files and a separate command file,
> where each of this .el marked to be loaded.
> I hoped there is a standard way, to coordinate the content of the
> directory and the associated lines in the command file automatically.
>
> Thank you talking about
> Erhy
You mean something like this?
(loop for lib in (directory-files "~/my-emacs-packages/" 't "elc?$" 't) do (load-library lib))
Although that will attempt to load both the .el and .elc should both exist.
HTH,
Colin S. Miller
--
Replace the obvious in my email address with the first three letters of the hostname to reply.
next prev parent reply other threads:[~2009-07-14 23:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-13 15:34 for loading own lisp functions, if some in separated files, automatically Erhy
2009-07-14 7:39 ` Peter Dyballa
2009-07-14 11:29 ` Abdullah Abdul Khadir
[not found] ` <mailman.2466.1247557209.2239.help-gnu-emacs@gnu.org>
2009-07-14 17:42 ` Erhy
2009-07-14 23:05 ` Colin S. Miller [this message]
2009-07-14 23:16 ` Colin S. Miller
2009-07-15 0:10 ` Peter Dyballa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='4a5d0f26$0$48241$14726298@news.sunsite.dk' \
--to=no-spam-thank-you@csmiller.demon.co.uk \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.