From 874d8a418f30f97c3099af1ca9a001f5bda05b6a Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Tue, 15 Nov 2022 15:40:58 +0100 Subject: [PATCH] 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 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." -- 2.39.2