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:
parent
c97685d424
commit
fbe3be3fa2
@ -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
|
||||
|
@ -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…
Reference in New Issue
Block a user