fix(lib): remove black hole insertions

These inserts were writing nowhere.
This commit is contained in:
Henrik Lissner
2025-09-22 22:27:18 -04:00
parent 093488fcb7
commit 1bc2af6ce5

View File

@@ -271,9 +271,7 @@ caches them in `doom--profiles'. If RELOAD? is non-nil, refresh the cache."
(pcase-dolist (`(,file ,fn _) doom-profile-generators)
(let ((file (doom-path init-dir file)))
(doom-log "Building %s..." file)
(insert "\n;;;; START " file " ;;;;\n")
(doom-file-write file (funcall fn) :printfn #'prin1)
(insert "\n;;;; END " file " ;;;;\n")))))
(doom-file-write file (funcall fn) :printfn #'prin1)))))
(with-file! init-file
(insert ";; -*- coding: utf-8; lexical-binding: t; -*-\n"
";; This file was autogenerated; do not edit it by hand!\n")