mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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."
|
||||||
|
Reference in New Issue
Block a user