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

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

Re: add many subdirs to load-path


From: Johan Bockgård
Subject: Re: add many subdirs to load-path
Date: Tue, 15 Jul 2008 12:47:02 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux)

Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

> Joe Bloggs wrote:
>> Does anyone know a quick way of adding/deleting/testing lots of
>> subdirs in load-path? I am trying to upgrade from emacs 21 to emacs
>> 22. I have a lot of packages installed in subdirs of my site-lisp
>> folder, not all of which are compatible with emacs 22. This means I
>> have to tediously sorting through my load-path which is very long.
>
> If you create a subdirs.el file in the site-lisp directory with the
> following contents, all the subdirectories will automatically be added
> to load-path:
>
> (normal-top-level-add-subdirs-to-load-path)

And it will not search below a directory that contains a `.nosearch'
file.

Also, there are different site-lisp directories, like

   emacs/site-lisp/       which is used by all versions

and

  emacs/22.1/site-lisp/   which is used by one particular version

-- 
Johan Bockgård


reply via email to

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