summary refs log tree commit diff stats
path: root/lisp
diff options
context:
space:
mode:
authorCase Duckworth2021-09-06 12:49:52 -0500
committerCase Duckworth2021-09-06 12:49:52 -0500
commitc7e39cb1831cf9c214ce470b24de513e390e0193 (patch)
tree120ba3a4540e3c02122a91858044df71f05840ba /lisp
parentMostly keywording stuff (diff)
downloademacs-c7e39cb1831cf9c214ce470b24de513e390e0193.tar.gz
emacs-c7e39cb1831cf9c214ce470b24de513e390e0193.zip
Quit setup form if `straight-use-package' returns nil
Diffstat (limited to 'lisp')
-rw-r--r--lisp/acdw-setup.el3
1 files changed, 2 insertions, 1 deletions
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 @@
46 46
47(setup-define :straight 47(setup-define :straight
48 (lambda (recipe) 48 (lambda (recipe)
49 `(straight-use-package ',recipe)) 49 `(unless (straight-use-package ',recipe)
50 ,(setup-quit)))
50 :documentation 51 :documentation
51 "Install RECIPE with `straight-use-package'. 52 "Install RECIPE with `straight-use-package'.
52This macro can be used as HEAD, and will replace itself with the 53This macro can be used as HEAD, and will replace itself with the