From 981ed73e66a135fd75b6a1b4a15e184aafa06a64 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 24 Feb 2020 22:56:58 -0500 Subject: [PATCH] Fix void-variable straight-process-buffer error #2596 --- bin/doom | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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!