summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el12
1 files changed, 5 insertions, 7 deletions
diff --git a/emacs/init.el b/emacs/init.el
index c64a6ce3..46ecbdec 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -42,19 +42,17 @@ Values: `desktop', `server', `laptop'")
   (setq env/location (env/get-location)))
 
 ;;;; Package Management
-(setq *elisp-dir*  (expand-file-name "elisp/" user-emacs-directory)
-      package-archives '(("gnu"       . "http://elpa.gnu.org/packages/")
-                         ("marmalade" . "http://marmalade-repo.org/packages/")
-                         ("melpa"     . "http://melpa.milkbox.net/packages/")
-                         ("org"       . "http://orgmode.org/elpa/")))
-
 (eval-and-compile
+  (setq package-archives '(("gnu"       . "http://elpa.gnu.org/packages/")
+                           ("marmalade" . "http://marmalade-repo.org/packages/")
+                           ("melpa"     . "http://melpa.milkbox.net/packages/")
+                           ("org"       . "http://orgmode.org/elpa/")))
   (package-initialize))
 
 (when (not package-archive-contents)
   (package-refresh-contents))
 
-(add-to-list 'load-path *elisp-dir*)
+(add-to-list 'load-path (expand-file-name "elisp/" user-emacs-directory))
 
 (mapc (lambda (package-name)
         (unless (package-installed-p package-name)