1

Fix bug re. byte-compiling use-package (Emacs 27+)

This commit is contained in:
Jessie Hildebrandt 2021-02-14 18:09:14 -05:00
parent 402b904536
commit 783239ccfd

View File

@ -236,6 +236,11 @@
;; Manually assemble the load-path during startup to save time.
(setq load-path (append load-path (directory-files package-user-dir t "^[^.]" t))))
;; Prepare a stupid hack to fix an issue with use-package in byte-compiled code on some systems. (Emacs 27+)
(deftheme use-package)
(enable-theme 'use-package)
(setq custom-enabled-themes (remq 'use-package custom-enabled-themes))
;; Initialize the package management system (only at compile time).
(eval-when-compile