diff options
author | Case Duckworth | 2021-09-06 12:49:52 -0500 |
---|---|---|
committer | Case Duckworth | 2021-09-06 12:49:52 -0500 |
commit | c7e39cb1831cf9c214ce470b24de513e390e0193 (patch) | |
tree | 120ba3a4540e3c02122a91858044df71f05840ba /lisp | |
parent | Mostly keywording stuff (diff) | |
download | emacs-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.el | 3 |
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'. |
52 | This macro can be used as HEAD, and will replace itself with the | 53 | This macro can be used as HEAD, and will replace itself with the |