; Avoid loading package-vc in 'package-load-descriptor'
* lisp/emacs-lisp/package.el (package-load-descriptor): Remove the :commit check. The property is mostly unused anyway, and this unnecessarily slows down initialisation if a package is installed from source.
This commit is contained in:
parent
462a66e79e
commit
17b017d55c
1 changed files with 0 additions and 4 deletions
|
@ -726,10 +726,6 @@ return it."
|
|||
(read (current-buffer)))
|
||||
(error "Can't find define-package in %s" pkg-file))))
|
||||
(setf (package-desc-dir pkg-desc) pkg-dir)
|
||||
(when (package-vc-p pkg-desc)
|
||||
(require 'package-vc)
|
||||
(push (cons :commit (package-vc-commit pkg-desc))
|
||||
(package-desc-extras pkg-desc)))
|
||||
(if (file-exists-p signed-file)
|
||||
(setf (package-desc-signed pkg-desc) t))
|
||||
pkg-desc)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue