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

Fail when error on warn #8

Merged
merged 5 commits into from
May 24, 2018

Conversation

DamienCassou
Copy link
Contributor

No description provided.

DamienCassou and others added 5 commits May 24, 2018 10:15
When compiling with `byte-compile-file`, warnings are reported as
errors but this won't stop compilation. With this patch, any error or
warning will exit Emacs with non-zero return value.

This commit also changes the error message in case of
problems. Instead of repeating the first error message with less
information (i.e., the filename, line and column numbers disappear),
the message "There were compile-time errors" appear instead.
@vermiculus vermiculus merged commit 6f66351 into vermiculus:master May 24, 2018
@vermiculus
Copy link
Owner

Thanks!

@DamienCassou DamienCassou deleted the fail-when-error-on-warn branch May 24, 2018 13:53
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