File tree Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -3937,11 +3937,18 @@ for dependency resolution."
3937
3937
;; Emacs 28 and below.
3938
3938
(dflt
3939
3939
(or
3940
- (when-let ((retrieved (straight-recipes-retrieve
3941
- package
3942
- (if (listp sources)
3943
- sources
3944
- (list sources)))))
3940
+ (when-let
3941
+ ((retrieved
3942
+ (straight-recipes-retrieve
3943
+ package
3944
+ (if (listp sources)
3945
+ sources
3946
+ (list sources))
3947
+ (concat cause
3948
+ (when cause straight-arrow)
3949
+ (format
3950
+ "Computing recipe inheritance for %S"
3951
+ package)))))
3945
3952
;; Recipes retrieved from files may be backquoted.
3946
3953
(cdr (if (straight--quoted-form-p retrieved)
3947
3954
(eval retrieved) retrieved)))
@@ -6311,8 +6318,14 @@ include a nil `:build' property, to unconditionally
6311
6318
inhibit the build phase.
6312
6319
6313
6320
This function also adds the recipe repository to
6314
- `straight-recipe-repositories', at the end of the list."
6315
- (straight-use-package-lazy melpa-style-recipe)
6321
+ `straight-recipe-repositories', at the end of the list.
6322
+
6323
+ Existing recipe repositories are not searched for a recipe for the
6324
+ recipe repository you are trying to register, because that is strange
6325
+ and confusing. If you explicitly want this behavior, you can use the
6326
+ `straight-use-package' API directly."
6327
+ (let ((straight-recipe-repositories nil))
6328
+ (straight-use-package-lazy melpa-style-recipe))
6316
6329
(add-to-list 'straight-recipe-repositories
6317
6330
(if (listp melpa-style-recipe)
6318
6331
(car melpa-style-recipe)
You can’t perform that action at this time.
0 commit comments