emacs-31 71198085695: Remove overlays from package menu when performing transaction
Philip Kaludercic <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: emacs-31 commit 711980856956c7a23767127da5dc8b9980128c7c Author: Philip Kaludercic <[email protected]> Commit: Philip Kaludercic <[email protected]> Remove overlays from package menu when performing transaction * lisp/emacs-lisp/package.el (package-menu--perform-transaction): Remove all overlays at the beginning of the function. (Bug#81213) --- lisp/emacs-lisp/package.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 4f92987e0c2..7e52e6decea 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -4103,6 +4103,7 @@ objects removed." (defun package-menu--perform-transaction (install-list delete-list) "Install packages in INSTALL-LIST and delete DELETE-LIST. Return nil if there were no errors; non-nil otherwise." + (remove-overlays (point-min) (point-max) 'pkg-menu-ov t) (let ((errors nil)) (if install-list (let ((status-format (format ":Installing %%d/%d"