From 38bb2ca88d2370f5991afe250e4976e7b50aab0d Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 29 Oct 2011 11:42:12 +0800 Subject: [PATCH] * emacs-lisp/package.el (package-refresh-contents): Add autoload. --- lisp/ChangeLog | 4 ++++ lisp/emacs-lisp/package.el | 1 + 2 files changed, 5 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4fd8422108e..d2f1ee6d87f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-10-29 Chong Yidong + + * emacs-lisp/package.el (package-refresh-contents): Add autoload. + 2011-10-28 Stefan Monnier * 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 (let ((version-control 'never)) (save-buffer)))))) +;;;###autoload (defun package-refresh-contents () "Download the ELPA archive description if needed. This informs Emacs about the latest versions of all packages, and