Add byte-compile-current-file check to package management

This commit is contained in:
James Cherti
2026-02-24 15:26:06 -05:00
parent 40a9131f66
commit c3d7b5ecee

View File

@@ -47,6 +47,7 @@
;;; package.el
(when (and (bound-and-true-p minimal-emacs-package-initialize-and-refresh)
(not (bound-and-true-p byte-compile-current-file))
(not (or (fboundp 'straight-use-package)
(fboundp 'elpaca))))
;; Initialize and refresh package contents again if needed