summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-09-14 22:05:17 -0400
committerChong Yidong <cyd@stupidchicken.com>2011-09-14 22:05:17 -0400
commitd770725a3df5529f046198b2f7014918e13a06b1 (patch)
treefa4ba55f7530e24304097d9fa016a3215583866d /lisp/emacs-lisp
parent25322144fc19c9e3dd04a6530e9dcdddffd7bccb (diff)
downloademacs-d770725a3df5529f046198b2f7014918e13a06b1.tar.gz
emacs-d770725a3df5529f046198b2f7014918e13a06b1.tar.bz2
emacs-d770725a3df5529f046198b2f7014918e13a06b1.zip
Add package-menu-mark-upgrades to the Package Menu menu bar map.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 92223b33733..f0b1537e2b3 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1305,6 +1305,9 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages."
(define-key menu-map [mi]
'(menu-item "Mark for install" package-menu-mark-install
:help "Mark a package for installation and move to the next line"))
+ (define-key menu-map [mupgrades]
+ '(menu-item "Mark upgradable packages" package-menu-mark-upgrades
+ :help "Mark packages that have a newer version for upgrading"))
(define-key menu-map [s3] '("--"))
(define-key menu-map [mg]
'(menu-item "Update package list" revert-buffer