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:
Henrik Lissner 2020-08-13 23:59:53 -04:00
parent 9cab6a6fd9
commit cbebbd5278
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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)