Fix bug re. byte-compiling use-package (Emacs 27+)
This commit is contained in:
parent
402b904536
commit
783239ccfd
5
init.el
5
init.el
@ -236,6 +236,11 @@
|
|||||||
;; Manually assemble the load-path during startup to save time.
|
;; Manually assemble the load-path during startup to save time.
|
||||||
(setq load-path (append load-path (directory-files package-user-dir t "^[^.]" t))))
|
(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).
|
;; Initialize the package management system (only at compile time).
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user