1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00: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:
Chong Yidong 2010-11-10 16:35:06 -05:00
parent c97685d424
commit fbe3be3fa2
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-11-10 Chong Yidong <cyd@stupidchicken.com>
* emacs-lisp/package.el (package-read-all-archive-contents): Reset
package-archive-contents to nil before re-reading.
2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org>
* textmodes/flyspell.el (flyspell-word): Do not re-check words

View File

@ -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))))