From: "Juanma Barranquero" <lekktu@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: multiple load-paths?
Date: Sat, 24 Nov 2007 16:57:40 +0100 [thread overview]
Message-ID: <f7ccd24b0711240757m7757321wc77102378075aa3c@mail.gmail.com> (raw)
In-Reply-To: <abf4f48c-9070-43ba-a0e0-501e1382a6a3@s36g2000prg.googlegroups.com>
On Nov 24, 2007 4:30 PM, someusernamehere <someusernamehere@gmail.com> wrote:
> (setq load-path (cons (expand-file-name "~/lisp") load-path))
> (setq load-path (cons (expand-file-name "~/repos") load-path))
> (setq load-path (cons (expand-file-name "~/testing") load-path))
> (setq load-path (cons (expand-file-name "~/elisp") load-path))
>
> there is a way to do this more "posh" ?, I mean may be in one line o
> something similar?
You could do
(dolist (dir '("lisp" "repos" "testing" "elisp"))
(push (expand-file-name (concat "~/" dir)) load-path))
About the "poshiness" of it, that's you call :-)
Juanma
next prev parent reply other threads:[~2007-11-24 15:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-24 15:30 multiple load-paths? someusernamehere
2007-11-24 15:57 ` Juanma Barranquero [this message]
2007-11-24 16:05 ` Johan Bockgård
2007-12-05 9:58 ` Mike Mattie
2007-12-05 10:57 ` Sebastian Tennant
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=f7ccd24b0711240757m7757321wc77102378075aa3c@mail.gmail.com \
--to=lekktu@gmail.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.
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.