Mercurial > emacs
changeset 111477:59101ed2e4c6
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.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 10 Nov 2010 16:35:06 -0500 |
parents | 3871ef96f22c |
children | 3cd0a7a068d5 |
files | lisp/ChangeLog lisp/emacs-lisp/package.el |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Nov 10 18:25:13 2010 +0100 +++ b/lisp/ChangeLog Wed Nov 10 16:35:06 2010 -0500 @@ -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
--- a/lisp/emacs-lisp/package.el Wed Nov 10 18:25:13 2010 +0100 +++ b/lisp/emacs-lisp/package.el Wed Nov 10 16:35:06 2010 -0500 @@ -753,6 +753,7 @@ (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))))