diff --git a/bin/doom b/bin/doom index 5ac35bf82..919b6ed40 100755 --- a/bin/doom +++ b/bin/doom @@ -100,10 +100,11 @@ with a different private module." (dolist (item (cdr e)) (print! "%S" item)) (print! "n/a"))) - (when (string-match-p (regexp-quote straight-process-buffer) - (error-message-string e)) - (print! (bold "Straight output:")) - (print-group! (print! "%s" (straight--process-get-output))))) + (when (featurep 'straight) + (when (string-match-p (regexp-quote straight-process-buffer) + (error-message-string e)) + (print! (bold "Straight output:")) + (print-group! (print! "%s" (straight--process-get-output)))))) (unless debug-on-error (terpri) (print!