summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/package.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2011-10-29 11:42:12 +0800
committerChong Yidong <cyd@gnu.org>2011-10-29 11:42:12 +0800
commit38bb2ca88d2370f5991afe250e4976e7b50aab0d (patch)
tree998369372e7e7d45bd65545f609b69ea405a78ce /lisp/emacs-lisp/package.el
parentbe890cb8428f86e8f19b8c5f9cc976b2f52aa379 (diff)
downloademacs-38bb2ca88d2370f5991afe250e4976e7b50aab0d.tar.gz
* emacs-lisp/package.el (package-refresh-contents): Add autoload.
Diffstat (limited to 'lisp/emacs-lisp/package.el')
-rw-r--r--lisp/emacs-lisp/package.el1
1 files changed, 1 insertions, 0 deletions
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