summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-11-15 15:40:58 +0100
committerPhilip Kaludercic <philipk@posteo.net>2022-11-17 20:55:04 +0100
commit874d8a418f30f97c3099af1ca9a001f5bda05b6a (patch)
treeab57233d7874547fc655a2f1be13bc55fec7fecd /lisp/emacs-lisp
parent228c247e6ff79b5aeb4cf65911fdea60d1f8edcf (diff)
downloademacs-874d8a418f30f97c3099af1ca9a001f5bda05b6a.tar.gz
emacs-874d8a418f30f97c3099af1ca9a001f5bda05b6a.tar.bz2
emacs-874d8a418f30f97c3099af1ca9a001f5bda05b6a.zip
Only fetch elpa-packages.eld when necessary
* lisp/emacs-lisp/package-vc.el: Remove hook from 'package-refresh-contents-hook'.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package-vc.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 368667814c4..e8cae75c9c0 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -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."