summaryrefslogtreecommitdiff
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
parentbe7748e70afa9fd7b82589061855d567c2229dc1 (diff)
downloademacs-cb8759ca5adfd8561c3c1fd80bfc51819e65d305.tar.gz
* emacs-lisp/package.el (list-packages): Alias for package-list-packages.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/package.el3
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8226f4b8d25..fcf27a8da92 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-24 Chong Yidong <cyd@stupidchicken.com>
+
+ * emacs-lisp/package.el (list-packages): Alias for
+ package-list-packages.
+
2010-08-24 Kevin Ryde <user42@zip.com.au>
* textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
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.