emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] elpa-admin a3f667f 133/357: Don't allow package-initialize to use


From: Stefan Monnier
Subject: [elpa] elpa-admin a3f667f 133/357: Don't allow package-initialize to use ~/.emacs.d
Date: Thu, 10 Dec 2020 18:06:30 -0500 (EST)

branch: elpa-admin
commit a3f667f753bc0b2fdff4b36659bdd60ba840713a
Author: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Commit: Barry O'Reilly <boreilly@aer.com>

    Don't allow package-initialize to use ~/.emacs.d
---
 GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

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