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

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

Re: Adding Additional Trees to the Load Path


From: Juanma Barranquero
Subject: Re: Adding Additional Trees to the Load Path
Date: Tue, 27 Jan 2009 21:16:21 +0100

On Tue, Jan 27, 2009 at 21:07, Tim Visher <address@hidden> 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 via email to

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