[Top][All Lists]

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

Re: Configure the package manager to sync with `load-path

From: Kevin Rodgers
Subject: Re: Configure the package manager to sync with `load-path
Date: Thu, 18 Oct 2012 21:01:08 -0600
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv: Gecko/20120306 Thunderbird/3.1.20

On 9/19/12 11:27 PM, Avery Chan wrote:
I have the package manager download packages but I'm having to set my load path
to each of the individually downloaded packages. Is there a way to have my
load-path set so that I don't have to manually configure my .emacs file each 

For example:

I install color-themes via the package manager. It is installed at the following

In order to successfully add:

(require 'color-theme)

to my .emacs file, I need to add-on

(add-to-list 'load-path "~/.emacs.d/elpa/color-theme-20080305.834")

for each package that I install. Is there a way to set load-path to recursively
scan so I don't have to do this?

Not recursively, but you can do this:

(let ((default-directory "~/emacs.d/elpa"))

Kevin Rodgers
Denver, Colorado, USA

reply via email to

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