[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r105777: Add package-menu-mark-upgrad
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r105777: Add package-menu-mark-upgrades to the Package Menu menu bar map. |
Date: |
Wed, 14 Sep 2011 22:05:17 -0400 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 105777
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Wed 2011-09-14 22:05:17 -0400
message:
Add package-menu-mark-upgrades to the Package Menu menu bar map.
modified:
lisp/ChangeLog
lisp/emacs-lisp/package.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-09-15 01:57:54 +0000
+++ b/lisp/ChangeLog 2011-09-15 02:05:17 +0000
@@ -10,7 +10,7 @@
package-menu-get-status instead of a regexp search.
(package-menu-get-status): Use tabulated-list-entry.
(package-menu-mark-upgrades): New command.
- (package-menu-mode-map): Bind it to U.
+ (package-menu-mode-map): Bind it to U. Add it to menu bar.
(package-menu-execute): Do installation before deletion.
(package-menu-refresh, package-menu-execute): Use derived-mode-p
instead of checking major-mode.
=== modified file 'lisp/emacs-lisp/package.el'
--- a/lisp/emacs-lisp/package.el 2011-09-15 01:57:54 +0000
+++ b/lisp/emacs-lisp/package.el 2011-09-15 02:05:17 +0000
@@ -1305,6 +1305,9 @@
(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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r105777: Add package-menu-mark-upgrades to the Package Menu menu bar map.,
Chong Yidong <=