branch: elpa/flycheck
commit a6c80bfe137a5c8a7b57e6d1670e3e28db3e1e21
Author: Aaron Jensen <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Fix org-lint line number handling
---
flycheck.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/flycheck.el b/flycheck.el
index 287832fb8f..4f65e1cdf0 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -8854,7 +8854,10 @@ has access to all installed packages and user
configuration."
(pcase e
(`(,_n [,line ,_trust ,desc ,_checker])
(flycheck-error-new-at
- line nil 'info desc
+ (if (stringp line)
+ (string-to-number line)
+ line)
+ nil 'info desc
:checker checker))
(_
(flycheck-error-new-at