unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Tim Visher <tim.visher@gmail.com>
Cc: Emacs Help List <help-gnu-emacs@gnu.org>
Subject: Re: Adding Additional Trees to the Load Path
Date: Tue, 27 Jan 2009 21:16:21 +0100	[thread overview]
Message-ID: <f7ccd24b0901271216y3a70a6eke4defa7f6d16c779@mail.gmail.com> (raw)
In-Reply-To: <c115fd3c0901271207o16abaad1g743108c8381ec486@mail.gmail.com>

On Tue, Jan 27, 2009 at 21:07, Tim Visher <tim.visher@gmail.com> wrote:

> (add-to-list 'load-path (expand-file-name "~/.emacs.d"))
>
> But that had no effect.  I would like behaviour similar to site-lisp
> where all of the trees under site-lisp are automitacally added.  Any
> way I can do this?

After adding ~/.emacs.d to load path, try adding a subdirs.el file to
~/.emacs.d with the following contents:

;; -*- no-byte-compile: t -*-
(if (fboundp 'normal-top-level-add-subdirs-to-load-path)
    (normal-top-level-add-subdirs-to-load-path))


    Juanma




  reply	other threads:[~2009-01-27 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27 20:07 Adding Additional Trees to the Load Path Tim Visher
2009-01-27 20:16 ` Juanma Barranquero [this message]
     [not found] <mailman.5999.1233086875.26697.help-gnu-emacs@gnu.org>
2009-01-28  8:57 ` Fabrice Niessen

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=f7ccd24b0901271216y3a70a6eke4defa7f6d16c779@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tim.visher@gmail.com \
    /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).