diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-06-19 18:36:51 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-06-19 18:36:51 -0400 |
commit | cced75847f64f1387ab3b4fac79034463afe1d93 (patch) | |
tree | a9963de44384d75054a502e45b0d720a3d72b115 /lisp/menu-bar.el | |
parent | d4aaac0f37d3e6e386c826575be8294a7dd4d2a3 (diff) | |
download | emacs-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/menu-bar.el')
-rw-r--r-- | lisp/menu-bar.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 2d5b6d51aa6..903bea36044 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -703,6 +703,10 @@ by \"Save Options\" in Custom buffers.") (when need-save (custom-save-all)))) +(define-key menu-bar-options-menu [package] + '(menu-item "Manage Emacs Packages" package-list-packages + :help "Install or uninstall additional Emacs packages")) + (define-key menu-bar-options-menu [save] `(menu-item ,(purecopy "Save Options") menu-bar-options-save :help ,(purecopy "Save options set from the menu above"))) |