[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d30f5e7: Fix problem with my last commit in package.el

From: Stefan Kangas
Subject: master d30f5e7: Fix problem with my last commit in package.el
Date: Wed, 6 Nov 2019 09:05:40 -0500 (EST)

branch: master
commit d30f5e7eeecd5425e236542189a1d683c00e7ed7
Author: Stefan Kangas <address@hidden>
Commit: Stefan Kangas <address@hidden>

    Fix problem with my last commit in package.el
    * lisp/emacs-lisp/package.el (package-menu--refresh-archives): Rename
    from duplicated name package-menu--refresh.  (Bug#38084)
    (package-menu-mode, list-packages): Use new name.
 lisp/emacs-lisp/package.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index b7a528d..9f8ee83 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -2767,7 +2767,7 @@ Letters do not insert themselves; instead, they are 
   (setq tabulated-list-sort-key (cons "Status" nil))
   (add-hook 'tabulated-list-revert-hook #'package-menu--refresh nil t)
-  (setq revert-buffer-function 'package-menu--refresh)
+  (setq revert-buffer-function 'package-menu--refresh-contents)
   (setf imenu-prev-index-position-function
   (setf imenu-extract-index-name-function
@@ -3166,7 +3166,7 @@ Return (PKG-DESC [NAME VERSION STATUS DOC])."
 (defvar package-menu--old-archive-contents nil
   "`package-archive-contents' before the latest refresh.")
-(defun package-menu--refresh (&optional _arg _noconfirm)
+(defun package-menu--refresh-contents (&optional _arg _noconfirm)
   "In Package Menu, download the Emacs Lisp package archive.
 Fetch the contents of each archive specified in
 `package-archives', and then refresh the package menu.  Signal a
@@ -3646,7 +3646,7 @@ short description."
       ;; Fetch the remote list of packages.
-      (unless no-fetch (package-menu--refresh))
+      (unless no-fetch (package-menu--refresh-contents))
       ;; If we're not async, this would be redundant.
       (when package-menu-async

reply via email to

[Prev in Thread] Current Thread [Next in Thread]