From 68edae421fa60a1b5fc8fb53022caf165ff9f6b5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 7 Dec 2024 17:55:09 -0500 Subject: [PATCH] refactor: doom-profile-generate: remove defunct build step Since 87a024e, the profile init files are no longer byte-compiled, so this block of code -- responsible for deleting byte-compiled init files -- is no longer needed. Amend: 87a024ee9070 --- lisp/lib/profiles.el | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lisp/lib/profiles.el b/lisp/lib/profiles.el index 2ddf6a577..b70942cc6 100644 --- a/lisp/lib/profiles.el +++ b/lisp/lib/profiles.el @@ -255,12 +255,6 @@ caches them in `doom--profiles'. If RELOAD? is non-nil, refresh the cache." (with-file-modes #o750 (print-group! (make-directory init-dir t) - (print! (start "Deleting old init files...")) - (print-group! :level 'info - (cl-loop for file in (cons init-file (doom-glob "*.elc")) - if (file-exists-p file) - do (print! (item "Deleting %s...") file) - and do (delete-file file))) (let ((auto-files (doom-glob init-dir "*.auto.el"))) (print! (start "Generating %d init files...") (length doom-profile-generators)) (print-group! :level 'info