Fix #3746: bin/doom hangs after tangling config
Because +literate-tangle-h wasn't returning non-nil in interactive sessions.
This commit is contained in:
parent
9cab6a6fd9
commit
cbebbd5278
1 changed files with 2 additions and 3 deletions
|
@ -70,11 +70,10 @@ byte-compiled from.")
|
|||
(ignore-errors (delete-file backup)))
|
||||
;; Write an empty file to serve as our mtime cache
|
||||
(with-temp-file cache)
|
||||
(unless doom-interactive-p
|
||||
(if doom-interactive-p t
|
||||
(message "Restarting..." )
|
||||
(doom-cli-execute-lines-after "NOTANGLE=1 \"$@\"")
|
||||
(kill-emacs 0))
|
||||
t))))
|
||||
(kill-emacs 0))))))
|
||||
|
||||
;;;###autoload
|
||||
(add-hook 'org-mode-hook #'+literate-enable-recompile-h)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue