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

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

Configure the package manager to sync with `load-path


From: Avery Chan
Subject: Configure the package manager to sync with `load-path
Date: Thu, 20 Sep 2012 13:27:17 +0800

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 time?

For example:

I install color-themes via the package manager. It is installed at the following path:
/Users/achan/.emacs.d/elpa/color-theme-6.5.5/

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?

Thanks!

Avery

version: GNU Emacs 24.0.92.1 (i386-apple-darwin11.2.0, NS apple-appkit-1138.23) of 2011-12-14
-- 
Avery Chan | Co-founder
ootbdev.com


reply via email to

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