From c7e39cb1831cf9c214ce470b24de513e390e0193 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 6 Sep 2021 12:49:52 -0500 Subject: Quit setup form if `straight-use-package' returns nil --- lisp/acdw-setup.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/acdw-setup.el b/lisp/acdw-setup.el index aa5c5f5..a096c98 100644 --- a/lisp/acdw-setup.el +++ b/lisp/acdw-setup.el @@ -46,7 +46,8 @@ (setup-define :straight (lambda (recipe) - `(straight-use-package ',recipe)) + `(unless (straight-use-package ',recipe) + ,(setup-quit))) :documentation "Install RECIPE with `straight-use-package'. This macro can be used as HEAD, and will replace itself with the -- cgit 1.4.1-21-gabe81