diff options
| author | Chong Yidong | 2010-11-10 16:35:06 -0500 |
|---|---|---|
| committer | Chong Yidong | 2010-11-10 16:35:06 -0500 |
| commit | fbe3be3fa2ea5921501649f741168165312d162b (patch) | |
| tree | e51708119ef84e6fd9f1aaa627bed2d5cc2e77fa /lisp | |
| parent | c97685d424703ac7eb195b0adede3ebd54cab23d (diff) | |
| download | emacs-fbe3be3fa2ea5921501649f741168165312d162b.tar.gz emacs-fbe3be3fa2ea5921501649f741168165312d162b.zip | |
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.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/package.el | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1a1c9640424..a7c3cb148ef 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-11-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * emacs-lisp/package.el (package-read-all-archive-contents): Reset | ||
| 4 | package-archive-contents to nil before re-reading. | ||
| 5 | |||
| 1 | 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> | 6 | 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> |
| 2 | 7 | ||
| 3 | * textmodes/flyspell.el (flyspell-word): Do not re-check words | 8 | * textmodes/flyspell.el (flyspell-word): Do not re-check words |
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 6d3132c1250..fecddcf16ed 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -753,6 +753,7 @@ Will throw an error if the archive version is too new." | |||
| 753 | (defun package-read-all-archive-contents () | 753 | (defun package-read-all-archive-contents () |
| 754 | "Re-read `archive-contents', if it exists. | 754 | "Re-read `archive-contents', if it exists. |
| 755 | If successful, set `package-archive-contents'." | 755 | If successful, set `package-archive-contents'." |
| 756 | (setq package-archive-contents nil) | ||
| 756 | (dolist (archive package-archives) | 757 | (dolist (archive package-archives) |
| 757 | (package-read-archive-contents (car archive)))) | 758 | (package-read-archive-contents (car archive)))) |
| 758 | 759 | ||