Skip to content

Commit

Permalink
move the build local elpa dir so we can ignore it
Browse files Browse the repository at this point in the history
  • Loading branch information
nicferrier committed Mar 30, 2012
1 parent cc5797c commit d35fa4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.html
/.elpa
15 changes: 7 additions & 8 deletions build.el
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
(file-name-directory
(or (buffer-file-name)
load-file-name))
"elpa"))
".elpa"))

(setq package-user-dir package-dir)

Expand All @@ -16,18 +16,17 @@

(setq package-archives
'(("localcache" . "/home/nferrier/elpacache")
;;("gnu" . "http://elpa.gnu.org/packages/")
;;("marmalade" . "http://marmalade-repo.org/packages/"))
))
("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")))

(package-initialize)
(package-refresh-contents)

(let ((nicblogmake (concat
(file-name-directory
(or (buffer-file-name)
load-file-name))
"nicblog-make.el")))
(file-name-directory
(or (buffer-file-name)
load-file-name))
"nicblog-make.el")))
(package-install-file nicblogmake))

(require 'nicblog-make)
Expand Down

0 comments on commit d35fa4c

Please sign in to comment.