summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-08-25 23:31:34 -0400
committerChong Yidong <cyd@stupidchicken.com>2010-08-25 23:31:34 -0400
commitcb6c4991ef19e3325d56f46aba4abd576bdbf3d2 (patch)
tree4659a4d5b70d6a451054f6e04abbf9f78abed311 /lisp/help.el
parentfe50eb41eac9d38909937f7da3bf394b96fb44af (diff)
downloademacs-cb6c4991ef19e3325d56f46aba4abd576bdbf3d2.tar.gz
Improvements to describe-package buffer.
* lisp/help.el (help-map): Bind `C-h P' to describe-package. * lisp/menu-bar.el (menu-bar-describe-menu): Add describe-package. * lisp/emacs-lisp/package.el (package-refresh-contents): Catch errors when downloading archives. (describe-package-1): Add package commentary. (package-install-button-action): New function. (package-menu-mode-map): Bind ? to package-menu-describe-package. (package-menu-view-commentary): Function removed. (package-list-packages-internal): Hide the `package' package too.
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 9434201797e..1cba4088a19 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -103,6 +103,7 @@
(define-key map "m" 'describe-mode)
(define-key map "n" 'view-emacs-news)
(define-key map "p" 'finder-by-keyword)
+ (define-key map "P" 'describe-package)
(define-key map "r" 'info-emacs-manual)
(define-key map "s" 'describe-syntax)
(define-key map "t" 'help-with-tutorial)