diff options
| author | Chong Yidong | 2011-10-29 11:42:12 +0800 |
|---|---|---|
| committer | Chong Yidong | 2011-10-29 11:42:12 +0800 |
| commit | 38bb2ca88d2370f5991afe250e4976e7b50aab0d (patch) | |
| tree | 998369372e7e7d45bd65545f609b69ea405a78ce | |
| parent | be890cb8428f86e8f19b8c5f9cc976b2f52aa379 (diff) | |
| download | emacs-38bb2ca88d2370f5991afe250e4976e7b50aab0d.tar.gz emacs-38bb2ca88d2370f5991afe250e4976e7b50aab0d.zip | |
* emacs-lisp/package.el (package-refresh-contents): Add autoload.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/package.el | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4fd8422108e..d2f1ee6d87f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-10-29 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/package.el (package-refresh-contents): Add autoload. | ||
| 4 | |||
| 1 | 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * doc-view.el: Avoid ugly errors about not finding nil. | 7 | * doc-view.el: Avoid ugly errors about not finding nil. |
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 2e340a442a6..0bd37ce1d49 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -1076,6 +1076,7 @@ similar to an entry in `package-alist'. Save the cached copy to | |||
| 1076 | (let ((version-control 'never)) | 1076 | (let ((version-control 'never)) |
| 1077 | (save-buffer)))))) | 1077 | (save-buffer)))))) |
| 1078 | 1078 | ||
| 1079 | ;;;###autoload | ||
| 1079 | (defun package-refresh-contents () | 1080 | (defun package-refresh-contents () |
| 1080 | "Download the ELPA archive description if needed. | 1081 | "Download the ELPA archive description if needed. |
| 1081 | This informs Emacs about the latest versions of all packages, and | 1082 | This informs Emacs about the latest versions of all packages, and |