From ddfa0d8da9aafc926bd403c29a2cebfea571ebde Mon Sep 17 00:00:00 2001
From: Dmitry Gutov <dmitry@gutov.dev>
Date: Fri, 28 Apr 2023 19:28:25 +0300
Subject: [PATCH] ; Remove some leftover text

---
 lisp/emacs-lisp/package.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 9cc3f8724af..0919ce34448 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -2311,10 +2311,7 @@ interactively, QUERY is always true.
 Currently, packages which are part of the Emacs distribution are
 not upgraded by this command.  To enable upgrading such a package
 using this command, first upgrade  the package to a newer version
-from ELPA by using `\\<package-menu-mode-map>\\[package-menu-mark-install]' after `\\[list-packages]'.
-
-  Use `i' after `M-x list-packages' to
-upgrade to an ELPA version first."
+from ELPA by using `\\<package-menu-mode-map>\\[package-menu-mark-install]' after `\\[list-packages]'."
   (interactive (list (not noninteractive)))
   (package-refresh-contents)
   (let ((upgradeable (package--upgradeable-packages)))
-- 
2.39.5