Skip to content
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

Fix error when `dashboard--section-starts' is nil #204

Merged
merged 1 commit into from Feb 17, 2020
Merged

Fix error when `dashboard--section-starts' is nil #204

merged 1 commit into from Feb 17, 2020

Conversation

Luis-Henriquez-Perez
Copy link
Contributor

If you set dashboard-items to nil, dashboard--section-starts' is nil. The current code tries to get the car of dashboard--section-starts' and will raise an error if it is nil. This pull request simply checks if dashboard--section-starts is nil before getting the car.

@JesusMtnez JesusMtnez changed the title Fix error when `dashboard--section-starts' is nil. Fix error when `dashboard--section-starts' is nil Feb 17, 2020
@JesusMtnez JesusMtnez merged commit 76a6aa4 into emacs-dashboard:master Feb 17, 2020
JesusMtnez added a commit that referenced this pull request Feb 17, 2020
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.

None yet

2 participants