mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -70,11 +70,10 @@ byte-compiled from.")
|
|||||||
(ignore-errors (delete-file backup)))
|
(ignore-errors (delete-file backup)))
|
||||||
;; Write an empty file to serve as our mtime cache
|
;; Write an empty file to serve as our mtime cache
|
||||||
(with-temp-file cache)
|
(with-temp-file cache)
|
||||||
(unless doom-interactive-p
|
(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))))))
|
||||||
t))))
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(add-hook 'org-mode-hook #'+literate-enable-recompile-h)
|
(add-hook 'org-mode-hook #'+literate-enable-recompile-h)
|
||||||
|
Reference in New Issue
Block a user