Fix #3804: rename TANGLE -> __TANGLE
So 'doom env' will naturally exclude it.
This commit is contained in:
parent
0aab1118de
commit
f83e6fe1cc
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ byte-compiled from.")
|
||||||
"Tangles `+literate-config-file' if it has changed."
|
"Tangles `+literate-config-file' if it has changed."
|
||||||
(print! (start "Compiling your literate config..."))
|
(print! (start "Compiling your literate config..."))
|
||||||
(print-group!
|
(print-group!
|
||||||
(and (not (getenv "NOTANGLE"))
|
(and (not (getenv "__NOTANGLE"))
|
||||||
(require 'ox nil t)
|
(require 'ox nil t)
|
||||||
(require 'ob-tangle nil t)
|
(require 'ob-tangle nil t)
|
||||||
(letf! ((default-directory doom-private-dir)
|
(letf! ((default-directory doom-private-dir)
|
||||||
|
@ -72,7 +72,7 @@ byte-compiled from.")
|
||||||
(with-temp-file cache)
|
(with-temp-file cache)
|
||||||
(if doom-interactive-p t
|
(if doom-interactive-p t
|
||||||
(message "Restarting..." )
|
(message "Restarting..." )
|
||||||
(doom-cli-execute-lines-after "NOTANGLE=1 $@")
|
(doom-cli-execute-lines-after "__NOTANGLE=1 $@")
|
||||||
(kill-emacs 0))))))
|
(kill-emacs 0))))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue