mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
Minor fix to package-archive-contents recalculation.
lisp/emacs-lisp/package.el (package-read-all-archive-contents): Reset package-archive-contents to nil before re-reading.
This commit is contained in:
parent
c97685d424
commit
fbe3be3fa2
2 changed files with 6 additions and 0 deletions
|
|
@ -753,6 +753,7 @@ Will throw an error if the archive version is too new."
|
|||
(defun package-read-all-archive-contents ()
|
||||
"Re-read `archive-contents', if it exists.
|
||||
If successful, set `package-archive-contents'."
|
||||
(setq package-archive-contents nil)
|
||||
(dolist (archive package-archives)
|
||||
(package-read-archive-contents (car archive))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue