Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flycheck-error-level-interesting-p
According to its docstring, `flycheck-error-level-interesting-p` should return true if there are no errors as _or more severe than_ `flycheck-navigation-minimum-level`. Currently, however, it only checks if there are any errors exactly as severe as `flycheck-navigation-minimum-level` (via `flycheck-has-current-errors-p`). This patch: * improves the documentation of * `flycheck-has-current-errors-p` * `flycheck-has-errors-p` * introduces two new functions * `flycheck-has-current-errors-atleast-p` * `flycheck-has-errors-atleast-p` * Changes `flycheck-error-level-interesting-p` to use `flycheck-has-current-errors-atleast-p`, instead of its "exact" sibling, bringing its actual behavior in line with its documented behavior
- Loading branch information