Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
502f9ebd
Commit
502f9ebd
authored
Sep 27, 2011
by
Chong Yidong
Browse files
* lisp/emacs-lisp/package.el (list-packages): Fix echo area message.
parent
2b1928b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/emacs-lisp/package.el
lisp/emacs-lisp/package.el
+3
-2
No files found.
lisp/ChangeLog
View file @
502f9ebd
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.
...
...
lisp/emacs-lisp/package.el
View file @
502f9ebd
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment