mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Only fetch elpa-packages.eld when necessary
* lisp/emacs-lisp/package-vc.el: Remove hook from 'package-refresh-contents-hook'.
This commit is contained in:
parent
228c247e6f
commit
874d8a418f
1 changed files with 0 additions and 1 deletions
|
|
@ -267,7 +267,6 @@ asynchronously."
|
|||
(error (message "Failed to download `%s' archive." (car archive))))))
|
||||
|
||||
(add-hook 'package-read-archive-hook #'package-vc--read-archive-data 20)
|
||||
(add-hook 'package-refresh-contents-hook #'package-vc--download-and-read-archives 20)
|
||||
|
||||
(defun package-vc-commit (pkg)
|
||||
"Return the last commit of a development package PKG."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue