Commit c25113d4 authored by João Távora's avatar João Távora

Don't resignal errors in flymake-diag-region

* lisp/progmodes/flymake.el (flymake-diag-region): Use
flymake-log instead of flymake-error.
parent e950f329
......@@ -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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment