Simplify mode-line prompt for package suggestions

* lisp/emacs-lisp/package-activate.el (package--autosugest-line-format):
Just indicate that packages can be installed, don't mention which.
This commit is contained in:
Philip Kaludercic 2026-02-12 18:19:32 +01:00
parent 0afb026a99
commit 92f1d0b5d5
No known key found for this signature in database

View file

@ -637,11 +637,7 @@ The elements of the returned list will have the form described in
((eq package-autosuggest-style 'mode-line))
(avail (package--autosuggest-find-candidates)))
(propertize
(format " Install %s?"
(mapconcat
#'symbol-name
(delete-dups (mapcar #'car avail))
", "))
"[Upgrade?]"
'face 'mode-line-emphasis
'mouse-face 'mode-line-highlight
'help-echo "Click to install suggested package."