changeset 111142:947164fbfa46

* package.el (package-menu-mode-map): Inherit from button-buffer-map.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 24 Oct 2010 11:46:21 -0400
parents 9f790d0f636f
children 42dfe6f887b0
files lisp/ChangeLog lisp/emacs-lisp/package.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Oct 24 11:39:32 2010 -0400
+++ b/lisp/ChangeLog	Sun Oct 24 11:46:21 2010 -0400
@@ -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
--- a/lisp/emacs-lisp/package.el	Sun Oct 24 11:39:32 2010 -0400
+++ b/lisp/emacs-lisp/package.el	Sun Oct 24 11:46:21 2010 -0400
@@ -1187,7 +1187,7 @@
 (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)