* 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

@ -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)