Fix void-variable straight-process-buffer error #2596

This commit is contained in:
Henrik Lissner 2020-02-24 22:56:58 -05:00
parent 8cd8c3ef7b
commit 981ed73e66
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -100,10 +100,11 @@ with a different private module."
(dolist (item (cdr e))
(print! "%S" item))
(print! "n/a")))
(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)))))
(print-group! (print! "%s" (straight--process-get-output))))))
(unless debug-on-error
(terpri)
(print!