1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 14:30:43 -08:00

* package.el (package-menu-mode-map): Inherit from button-buffer-map.

This commit is contained in:
Chong Yidong 2010-10-24 11:46:21 -04:00
parent 484db896fa
commit 43207249e0
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-10-24 Chong Yidong <cyd@stupidchicken.com>
* emacs-lisp/package.el (package-menu-mode-map): Inherit from
button-buffer-map.
2010-10-24 Ralf Angeli <angeli@caeruleus.net>
* emacs-lisp/package.el (package--generate-package-list): Make the

View file

@ -1187,7 +1187,7 @@ The variable `package-load-list' controls which packages to load."
(defvar package-menu-mode-map
(let ((map (make-keymap))
(menu-map (make-sparse-keymap "Package")))
(suppress-keymap map)
(set-keymap-parent map button-buffer-map)
(define-key map "\C-m" 'package-menu-describe-package)
(define-key map "q" 'quit-window)
(define-key map "n" 'next-line)