mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-06 14:02:07 -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
|
|
@ -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…
Add table
Add a link
Reference in a new issue