summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2017-11-03 16:53:45 +0000
committerJoão Távora <joaotavora@gmail.com>2017-11-03 16:53:45 +0000
commitc25113d4ac20ceb2b7697e1df8dd649e01228779 (patch)
tree30d535baa5d648bd87de5942f3ef8814695c76ce /lisp
parente950f329c0cfbe9bf3ba2c2e8ee788d6cdf4cebb (diff)
downloademacs-c25113d4ac20ceb2b7697e1df8dd649e01228779.tar.gz
Don't resignal errors in flymake-diag-region
* lisp/progmodes/flymake.el (flymake-diag-region): Use flymake-log instead of flymake-error.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/flymake.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index c2349d8c7cc..e13d79770e5 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.