diff options
-rw-r--r-- | init.el | 5 |
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) |