[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 c25113d: Don't resignal errors in flymake-diag-re
From: |
João Távora |
Subject: |
[Emacs-diffs] emacs-26 c25113d: Don't resignal errors in flymake-diag-region |
Date: |
Fri, 3 Nov 2017 12:58:21 -0400 (EDT) |
branch: emacs-26
commit c25113d4ac20ceb2b7697e1df8dd649e01228779
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Don't resignal errors in flymake-diag-region
* lisp/progmodes/flymake.el (flymake-diag-region): Use
flymake-log instead of flymake-error.
---
lisp/progmodes/flymake.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index c2349d8..e13d797 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -342,7 +342,7 @@ region is invalid."
(let* ((beg (fallback-bol))
(end (fallback-eol beg)))
(cons beg end)))))))
- (error (flymake-error "Invalid region line=%s col=%s" line col))))
+ (error (flymake-log :warning "Invalid region line=%s col=%s" line col))))
(defvar flymake-diagnostic-functions nil
"Special hook of Flymake backends that check a buffer.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 c25113d: Don't resignal errors in flymake-diag-region,
João Távora <=