1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Tweaks to package list UI.

* help-mode.el (help-package): New button type.

* emacs-lisp/package.el (package-print-package): Add link to
package description via describe-package.
(describe-package-1): List package requirements.  Add button to
perform installation.
(package-menu-describe-package): New command.
This commit is contained in:
Chong Yidong 2010-06-20 00:55:14 -04:00
parent cced75847f
commit 8adb4c33da
3 changed files with 78 additions and 11 deletions

View file

@ -244,6 +244,11 @@ The format is (FUNCTION ARGS...).")
(message "Unable to find location in file"))))
'help-echo (purecopy "mouse-2, RET: find face's definition"))
(define-button-type 'help-package
:supertype 'help-xref
'help-function 'describe-package
'help-echo (purecopy "mouse-2, RET: Describe package"))
(define-button-type 'help-package-def
:supertype 'help-xref
'help-function (lambda (file) (dired file))