fix(literate): tangling loop on 'doom sync'
Why the setenv call wasn't persisted into session restart (#6642) needs further investigation, but for now this seems to solve the issue. Fix: #6642
This commit is contained in:
parent
24623f9959
commit
4cf5ae8be1
1 changed files with 1 additions and 2 deletions
|
@ -53,9 +53,8 @@
|
|||
(and (+literate-tangle +literate-config-file
|
||||
(concat doom-module-config-file ".el")
|
||||
doom-private-dir)
|
||||
(setenv "__NOTANGLE" "1")
|
||||
(or (not noninteractive)
|
||||
(exit! :restart)))))
|
||||
(exit! "__NOTANGLE=1 $@")))))
|
||||
|
||||
(defun +literate-tangle--async ()
|
||||
"Tangles `+literate-config-file' using an async Emacs process."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue