branch: elpa/flycheck
commit 69dfbc4886b22531378f90915711af3bb8754237
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Add forward declaration for flycheck-proselint-executable
The variable is created by flycheck-define-checker later in the
file, but flycheck--proselint-args references it earlier, causing
a free variable warning during byte-compilation.
---
flycheck.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/flycheck.el b/flycheck.el
index 996e1e936b..6a97f7e8de 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -10405,6 +10405,8 @@ See URL `https://proselint.com/' for more information
about proselint."
Value is t for old (<= 0.14.0), nil for new (>= 0.16.0),
or `unknown' if not yet detected.")
+(defvar flycheck-proselint-executable)
+
(defun flycheck--proselint-args ()
"Return command arguments for proselint, detecting the version once."
(when (eq flycheck--proselint-use-old-args 'unknown)