From 783239ccfded09c80436cd7e72396c778d51d73f Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Sun, 14 Feb 2021 18:09:14 -0500 Subject: [PATCH] Fix bug re. byte-compiling use-package (Emacs 27+) --- init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.el b/init.el index f7e1ef1..6e43a43 100644 --- a/init.el +++ b/init.el @@ -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