mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
Tolerate errors while recompiling all packages
* lisp/emacs-lisp/package.el (package-recompile-all): Demote errors raised by 'package-recompile'. (Bug#68678)
This commit is contained in:
parent
db195116a4
commit
998f9d98c3
1 changed files with 2 additions and 1 deletions
|
|
@ -2610,7 +2610,8 @@ This is meant to be used only in the case the byte-compiled files
|
|||
are invalid due to changed byte-code, macros or the like."
|
||||
(interactive)
|
||||
(pcase-dolist (`(_ ,pkg-desc) package-alist)
|
||||
(package-recompile pkg-desc)))
|
||||
(with-demoted-errors "Error while recompiling: %S"
|
||||
(package-recompile pkg-desc))))
|
||||
|
||||
;;;###autoload
|
||||
(defun package-autoremove ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue