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:
parent
06db69bf76
commit
bcca96a69a
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@
|
||||||
(+literate-tangle +literate-config-file
|
(+literate-tangle +literate-config-file
|
||||||
(concat doom-module-config-file ".el")
|
(concat doom-module-config-file ".el")
|
||||||
doom-private-dir)
|
doom-private-dir)
|
||||||
(always (print! "Restarting..."))
|
(setenv "__NOTANGLE" "1")
|
||||||
(exit! "__DOOMRESTART=1 __NOTANGLE=1 $@")))
|
(exit! :restart)))
|
||||||
|
|
||||||
(defun +literate-tangle--async ()
|
(defun +literate-tangle--async ()
|
||||||
"Tangles `+literate-config-file' using an async Emacs process."
|
"Tangles `+literate-config-file' using an async Emacs process."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue