aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Malabarba2015-12-12 21:39:19 +0000
committerArtur Malabarba2015-12-12 21:39:42 +0000
commitcb5c26128f2cdfd5b14e553b347ae96048a838cb (patch)
tree013c1c744eaceded62cd6bd4b09d092d866c4eb5
parent625a5df83414b49a82da8cc47a91aa1758fd71d4 (diff)
downloademacs-cb5c26128f2cdfd5b14e553b347ae96048a838cb.tar.gz
emacs-cb5c26128f2cdfd5b14e553b347ae96048a838cb.zip
* lisp/emacs-lisp/package.el (package--compile): Don't activate
`package-unpack' takes care of all activations now (other than `package-initialize). `package--compile' now only compiles.
-rw-r--r--lisp/emacs-lisp/package.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 67d78987a4f..3cf94ec0255 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -923,11 +923,12 @@ untar into a directory named DIR; otherwise, signal an error."
923;;;; Compilation 923;;;; Compilation
924(defvar warning-minimum-level) 924(defvar warning-minimum-level)
925(defun package--compile (pkg-desc) 925(defun package--compile (pkg-desc)
926 "Byte-compile installed package PKG-DESC." 926 "Byte-compile installed package PKG-DESC.
927This assumes that `pkg-desc' has already been activated with
928`package-activate-1'."
927 (let ((warning-minimum-level :error) 929 (let ((warning-minimum-level :error)
928 (save-silently inhibit-message) 930 (save-silently inhibit-message)
929 (load-path load-path)) 931 (load-path load-path))
930 (package--activate-autoloads-and-load-path pkg-desc)
931 (byte-recompile-directory (package-desc-dir pkg-desc) 0 t))) 932 (byte-recompile-directory (package-desc-dir pkg-desc) 0 t)))
932 933
933;;;; Inferring package from current buffer 934;;;; Inferring package from current buffer