summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/package-x.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-06-19 18:36:51 -0400
committerChong Yidong <cyd@stupidchicken.com>2010-06-19 18:36:51 -0400
commitcced75847f64f1387ab3b4fac79034463afe1d93 (patch)
treea9963de44384d75054a502e45b0d720a3d72b115 /lisp/emacs-lisp/package-x.el
parentd4aaac0f37d3e6e386c826575be8294a7dd4d2a3 (diff)
downloademacs-cced75847f64f1387ab3b4fac79034463afe1d93.tar.gz
Add preliminary describe-package functionality, and some cleanup.
* help-mode.el (help-package-def): New button type. * menu-bar.el: Move package-list-packages binding here from package.el. * emacs-lisp/package.el: Move package-list-packages binding to menu-bar.el. (describe-package, describe-package-1, package--dir): New funs. (package-activate-1): Use package--dir. * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
Diffstat (limited to 'lisp/emacs-lisp/package-x.el')
-rw-r--r--lisp/emacs-lisp/package-x.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package-x.el b/lisp/emacs-lisp/package-x.el
index c2d85aa574a..21bd7960d89 100644
--- a/lisp/emacs-lisp/package-x.el
+++ b/lisp/emacs-lisp/package-x.el
@@ -31,6 +31,9 @@
;;; Code:
+(require 'package)
+(defvar gnus-article-buffer)
+
;; Note that this only works if you have the password, which you
;; probably don't :-).
(defvar package-archive-upload-base nil