about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-04-22 11:50:19 -0500
committerCase Duckworth2021-04-22 11:50:19 -0500
commit4ff45377948e5d479077b808a6fa76206b5bb303 (patch)
treecaa265a4fb6402b54a7e3c6cd496ece1949c1c9c
parentInstall w32-browser at work (diff)
downloademacs-4ff45377948e5d479077b808a6fa76206b5bb303.tar.gz
emacs-4ff45377948e5d479077b808a6fa76206b5bb303.zip
Bail out of `setup' if straight fails
-rw-r--r--init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.el b/init.el index 54a5f66..06ccbfb 100644 --- a/init.el +++ b/init.el
@@ -27,7 +27,10 @@
27 27
28(setup-define :straight 28(setup-define :straight
29 (lambda (recipe) 29 (lambda (recipe)
30 `(straight-use-package ',recipe)) 30 `(or (ignore-errors (straight-use-package ',recipe))
31 (progn
32 (message "Straight error: %S" ',recipe)
33 (throw 'setup-exit nil))))
31 :documentation "Install RECIPE with `straight-use-package'." 34 :documentation "Install RECIPE with `straight-use-package'."
32 :repeatable t 35 :repeatable t
33 :shorthand (lambda (sexp) 36 :shorthand (lambda (sexp)