summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/package.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-08-24 17:36:33 -0400
committerChong Yidong <cyd@stupidchicken.com>2010-08-24 17:36:33 -0400
commitcb8759ca5adfd8561c3c1fd80bfc51819e65d305 (patch)
tree7b974b4327e655bf612130941c2f81976d236e9d /lisp/emacs-lisp/package.el
parentbe7748e70afa9fd7b82589061855d567c2229dc1 (diff)
downloademacs-cb8759ca5adfd8561c3c1fd80bfc51819e65d305.tar.gz
* emacs-lisp/package.el (list-packages): Alias for package-list-packages.
Diffstat (limited to 'lisp/emacs-lisp/package.el')
-rw-r--r--lisp/emacs-lisp/package.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 2e8c7dc7d4f..634a05df15e 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1557,6 +1557,9 @@ The list is displayed in a buffer named `*Packages*'."
(package-refresh-contents)
(package--list-packages))
+;;;###autoload
+(defalias 'list-packages 'package-list-packages)
+
(defun package-list-packages-no-fetch ()
"Display a list of packages.
Does not fetch the updated list of packages before displaying.