epich pushed a commit to branch master
in repository elpa.

commit afc65ce7e895db33b504ed8626fe573c24e051ba
Author: Nicolas Richard <theonewiththeevill...@yahoo.fr>
Date:   Thu Apr 24 17:16:10 2014 -0400

    Don't allow package-initialize to use ~/.emacs.d
---
 GNUmakefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 2b07767..f9deecf 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -131,7 +131,7 @@ elcs := $(call SET-diff, $(naive_elcs), $(patsubst %.el, 
%.elc, $(nbc_els)))
 %.elc: %.el
        @echo 'EMACS -f batch-byte-compile $<'
        @$(EMACS) \
-           --eval "(setq package-directory-list '(\"$(abspath packages)\"))" \
+           --eval "(setq package-directory-list nil package-user-dir 
\"$(abspath packages)\")" \
            --eval '(package-initialize)' \
            -L $(dir $@) -f batch-byte-compile $<
 

Reply via email to