Mercurial > emacs
view oldXMenu/EvHand.c @ 109992:640cdeb464c1
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.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 25 Aug 2010 23:31:34 -0400 |
parents | 5cc91198ffb2 |
children | ef719132ddfa |
line wrap: on
line source
/* Copyright Massachusetts Institute of Technology 1985 */ #include "copyright.h" /* * XMenu: MIT Project Athena, X Window system menu package * * XMenuEventHandler - Set the XMenu asynchronous event handler. * * Author: Tony Della Fera, DEC * December 19, 1985 * */ #include "XMenuInt.h" XMenuEventHandler(int (*handler) (XEvent*)) { /* * Set the global event handler variable. */ _XMEventHandler = handler; } /* arch-tag: 8d614c8c-94d9-43c8-8e32-c438a3c8a8a3 (do not change this comment) */