[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/package-vc-fixes 8896ffcd12 1/2: Only fetch elpa-packages.eld wh
From: |
Philip Kaludercic |
Subject: |
scratch/package-vc-fixes 8896ffcd12 1/2: Only fetch elpa-packages.eld when necessary |
Date: |
Tue, 15 Nov 2022 13:53:48 -0500 (EST) |
branch: scratch/package-vc-fixes
commit 8896ffcd122da9cfa77cfa82bf8b1c454f1bb718
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Only fetch elpa-packages.eld when necessary
* lisp/emacs-lisp/package-vc.el: Remove hook from
'package-refresh-contents-hook'.
---
lisp/emacs-lisp/package-vc.el | 1 -
1 file changed, 1 deletion(-)
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index e31f2e5126..4a689c079f 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -268,7 +268,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."