]> git.eshelyaron.com Git - emacs.git/commitdiff
Only fetch elpa-packages.eld when necessary
authorPhilip Kaludercic <philipk@posteo.net>
Tue, 15 Nov 2022 14:40:58 +0000 (15:40 +0100)
committerPhilip Kaludercic <philipk@posteo.net>
Thu, 17 Nov 2022 19:55:04 +0000 (20:55 +0100)
* lisp/emacs-lisp/package-vc.el: Remove hook from
'package-refresh-contents-hook'.

lisp/emacs-lisp/package-vc.el

index 368667814c477b0429f22bbec4fb78965542039e..e8cae75c9c0bf7f20d0c0fcc000927573596c0b6 100644 (file)
@@ -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."