From: Chong Yidong Date: Sun, 24 Oct 2010 15:46:21 +0000 (-0400) Subject: * package.el (package-menu-mode-map): Inherit from button-buffer-map. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~485 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=43207249e0170bb9f047d82cbe6f81ecc89cc9a8;p=emacs.git * package.el (package-menu-mode-map): Inherit from button-buffer-map. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 73356c32603..8e9400b6c12 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-10-24 Chong Yidong + + * emacs-lisp/package.el (package-menu-mode-map): Inherit from + button-buffer-map. + 2010-10-24 Ralf Angeli * emacs-lisp/package.el (package--generate-package-list): Make the diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 001b8a23f49..ea4c14e7cda 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -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)