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:
parent
e950f329c0
commit
c25113d4ac
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue