From 92f1d0b5d55a9a60c2fea74f9dc81bd0ea09d2ad Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Thu, 12 Feb 2026 18:19:32 +0100 Subject: [PATCH] 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. --- lisp/emacs-lisp/package-activate.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lisp/emacs-lisp/package-activate.el b/lisp/emacs-lisp/package-activate.el index 7981642a7e0..4a0a9b79fb5 100644 --- a/lisp/emacs-lisp/package-activate.el +++ b/lisp/emacs-lisp/package-activate.el @@ -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."