Skip to content

Update documentation for layer dependencies declaration #16406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2024

Conversation

2ynn
Copy link
Contributor

@2ynn 2ynn commented May 20, 2024

I think users interested in writing their first configuration layer should be incentivized to use the configuration-layer/declare-layer-dependencies function instead of manually declaring a single layer.

As I was going through the LAYERS.org documentation I noticed most existing layers made use of configuration-layer/declare-layer-dependencies in their layers.el file, instead of the recommended configuration-layer/declare-layer.
This seems to be consistent with the configuration-layer/declare-dependencies docstring as well as
this comment which suggests declaring layers right away should only be done in special cases by distribution layers.

Users interested in writing their first configuration layer should be
incentivized to use the configuration-layer/declare-layer-dependencies
function instead of manually declaring a single layer.
@smile13241324 smile13241324 merged commit 20e3267 into syl20bnr:develop May 20, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants