From 0c293f1520dd73203c03d7934ac21b2bae6eaf37 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 6 Nov 2019 00:58:57 +0100 Subject: Make 'g' refresh package data in package menu * lisp/emacs-lisp/package.el (package-menu--refresh): Rename from 'package-menu-refresh', make internal and non-interactive. (package-menu-mode-map, package-menu-mode-menu, package-menu-mode) (list-packages): Use the above. (Bug#35504) (package-menu-refresh): Redefine as obsolete fuction alias for 'revert-buffer'. * doc/emacs/package.texi (Package Menu): Document it. * etc/NEWS: Announce it. --- etc/NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index 87aa5b5505f..737053a099a 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1152,6 +1152,14 @@ the 'package-menu-clear-filter' function, bound to '/ /' by default. --- *** The package list can now be sorted by version or description. ++++ +*** In Package Menu, 'g' now updates package data from archives. +Previously, 'g' invoked 'tabulated-list-revert' which did not update +the cached archive data. It is now bound to 'revert-buffer', which +will now update the data. + +'package-menu-refresh' is an obsolete alias for 'revert-buffer'. + ** Info +++ -- cgit v1.2.1