branch: elpa/flycheck
commit 1800aafb6ca82dd619a2d10f8064e7b0ebfd58de
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Pass lexical flag to eval in flycheck-substitute-argument
The file uses lexical-binding: t but this eval call was missing
the second argument, defaulting to dynamic scoping.
---
flycheck.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flycheck.el b/flycheck.el
index 946e573099..f13c82bd89 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -6240,7 +6240,7 @@ are substituted within the body of cells!"
(when (symbol-value variable)
(list option-name)))
(`(eval ,form)
- (let ((result (eval form)))
+ (let ((result (eval form t)))
(cond
((and (listp result) (seq-every-p #'stringp result)) result)
((stringp result) (list result))