diff options
| author | Chong Yidong | 2011-09-27 11:58:13 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-09-27 11:58:13 -0400 |
| commit | 502f9ebda07a494d37a9127bd396718f42c4c4d9 (patch) | |
| tree | e6d72479914d3ff3b515098da117baf198cd06e0 | |
| parent | 2b1928b8071719a779e7144bcf777d999cd9bbec (diff) | |
| download | emacs-502f9ebda07a494d37a9127bd396718f42c4c4d9.tar.gz emacs-502f9ebda07a494d37a9127bd396718f42c4c4d9.zip | |
* lisp/emacs-lisp/package.el (list-packages): Fix echo area message.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/package.el | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ec867fee08b..50dccb43b3b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-09-27 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * emacs-lisp/package.el (list-packages): Fix echo area message. | ||
| 4 | |||
| 1 | 2011-09-27 Leo Liu <sdl.web@gmail.com> | 5 | 2011-09-27 Leo Liu <sdl.web@gmail.com> |
| 2 | 6 | ||
| 3 | * ido.el (ido-read-internal): Accept cons cell HIST arg. | 7 | * ido.el (ido-read-internal): Accept cons cell HIST arg. |
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 4cab8f43480..2e340a442a6 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -1658,10 +1658,11 @@ The list is displayed in a buffer named `*Packages*'." | |||
| 1658 | (switch-to-buffer buf)) | 1658 | (switch-to-buffer buf)) |
| 1659 | (let ((upgrades (package-menu--find-upgrades))) | 1659 | (let ((upgrades (package-menu--find-upgrades))) |
| 1660 | (if upgrades | 1660 | (if upgrades |
| 1661 | (message "%d package%s can be upgraded; type `%s' to mark them for upgrading." | 1661 | (message "%d package%s can be upgraded; type `%s' to mark %s for upgrading." |
| 1662 | (length upgrades) | 1662 | (length upgrades) |
| 1663 | (if (= (length upgrades) 1) "" "s") | 1663 | (if (= (length upgrades) 1) "" "s") |
| 1664 | (substitute-command-keys "\\[package-menu-mark-upgrades]"))))) | 1664 | (substitute-command-keys "\\[package-menu-mark-upgrades]") |
| 1665 | (if (= (length upgrades) 1) "it" "them"))))) | ||
| 1665 | 1666 | ||
| 1666 | ;;;###autoload | 1667 | ;;;###autoload |
| 1667 | (defalias 'package-list-packages 'list-packages) | 1668 | (defalias 'package-list-packages 'list-packages) |