From: Philip Kaludercic Date: Tue, 15 Nov 2022 14:40:58 +0000 (+0100) Subject: Only fetch elpa-packages.eld when necessary X-Git-Tag: emacs-29.0.90~1616^2~64 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=874d8a418f30f97c3099af1ca9a001f5bda05b6a;p=emacs.git Only fetch elpa-packages.eld when necessary * lisp/emacs-lisp/package-vc.el: Remove hook from 'package-refresh-contents-hook'. --- 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."