refactor(literate): remove unused envvar __DOOMRESTART

Also remove the "Restarting..." message; it's an implementation detail
that isn't important to the end user.
This commit is contained in:
Henrik Lissner 2022-08-05 00:46:44 +02:00
parent 06db69bf76
commit bcca96a69a
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -49,8 +49,8 @@
(+literate-tangle +literate-config-file
(concat doom-module-config-file ".el")
doom-private-dir)
(always (print! "Restarting..."))
(exit! "__DOOMRESTART=1 __NOTANGLE=1 $@")))
(setenv "__NOTANGLE" "1")
(exit! :restart)))
(defun +literate-tangle--async ()
"Tangles `+literate-config-file' using an async Emacs process."