From f9de598daaf540a66d63a6afdbca2586ec7c39f2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 18 Sep 2022 14:01:52 +0200 Subject: [PATCH] tweak(lib): doom-info: split byte-compiled-config trait into 3 What used to be a `byte-compiled-config` trait, displayed in your `M-x doom/info`, is now `compiled-user-config`, `compiled-core`, and `compiled-modules`, for more helpful granularity for debugging possible byte-code issues. --- lisp/lib/debug.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lisp/lib/debug.el b/lisp/lib/debug.el index 07bdb82fa..fa8f5a50d 100644 --- a/lisp/lib/debug.el +++ b/lisp/lib/debug.el @@ -292,11 +292,12 @@ ready to be pasted in a bug report on github." 'symlinked-doomdir) (if (and (stringp custom-file) (file-exists-p custom-file)) 'custom-file) - (if (doom-files-in `(,@doom-modules-dirs - ,doom-core-dir - ,doom-user-dir) - :type 'files :match "\\.elc$") - 'byte-compiled-config))))) + (if (doom-files-in doom-user-dir :type 'files :match "\\.elc$") + 'compiled-user-config) + (if (doom-files-in doom-core-dir :type 'files :match "\\.elc$") + 'compiled-core) + (if (doom-files-in doom-modules-dirs :type 'files :match "\\.elc$") + 'compiled-modules))))) (custom ,@(when (and (stringp custom-file) (file-exists-p custom-file))