Commit 502f9ebd authored by Chong Yidong's avatar Chong Yidong
Browse files

* lisp/emacs-lisp/package.el (list-packages): Fix echo area message.

parent 2b1928b8
2011-09-27 Chong Yidong <cyd@stupidchicken.com>
* emacs-lisp/package.el (list-packages): Fix echo area message.
2011-09-27 Leo Liu <sdl.web@gmail.com>
* ido.el (ido-read-internal): Accept cons cell HIST arg.
......
......@@ -1658,10 +1658,11 @@ The list is displayed in a buffer named `*Packages*'."
(switch-to-buffer buf))
(let ((upgrades (package-menu--find-upgrades)))
(if upgrades
(message "%d package%s can be upgraded; type `%s' to mark them for upgrading."
(message "%d package%s can be upgraded; type `%s' to mark %s for upgrading."
(length upgrades)
(if (= (length upgrades) 1) "" "s")
(substitute-command-keys "\\[package-menu-mark-upgrades]")))))
(substitute-command-keys "\\[package-menu-mark-upgrades]")
(if (= (length upgrades) 1) "it" "them")))))
;;;###autoload
(defalias 'package-list-packages 'list-packages)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment