Don't resignal errors in flymake-diag-region

* lisp/progmodes/flymake.el (flymake-diag-region): Use
flymake-log instead of flymake-error.
This commit is contained in:
João Távora 2017-11-03 16:53:45 +00:00
parent e950f329c0
commit c25113d4ac

View file

@ -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.