Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package

From: Pieter van Oostrum <[email-masked]>
Date: Sun, 09 Feb 2020 21:28:35 +0100

Proposed patch:

>From 56bb338bf9789450a70fc6319c8b67e7268c57c1 Mon Sep 17 00:00:00 2001
From: Pieter van Oostrum <[email-masked]>
Date: Sun, 9 Feb 2020 21:22:55 +0100
Subject: [PATCH] Remove obsolete menu entry "Redisplay buffer"

* lisp/emacs-lisp/package.el (package-menu-mode-menu): Remove obsolete
menu entry "Redisplay buffer".
(package-menu-mode-menu): Menu entry "Refresh Package List":
make the doc string more accurate.
(Bug#39436)
---
 lisp/emacs-lisp/package.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index b652dc9d6e..10ce19525a 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -2714,9 +2714,8 @@ package-menu-mode-menu
     ["Help" package-menu-quick-help :help "Show short key binding help for package-menu-mode"]
     "--"
     ["Refresh Package List" revert-buffer
-     :help "Redownload the ELPA archive"
+     :help "Redownload the package archive(s)"
      :active (not package--downloads-in-progress)]
-    ["Redisplay buffer" revert-buffer :help "Update the buffer with current list of packages"]
     ["Execute Marked Actions" package-menu-execute :help "Perform all the marked actions"]
 
     "--"
-- 
2.25.0

I have also corrected the Refresh Package List doc string: there can be other archives than ELPA.
-- 
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]