From: João Távora Date: Fri, 3 Nov 2017 16:53:45 +0000 (+0000) Subject: Don't resignal errors in flymake-diag-region X-Git-Tag: emacs-26.0.91~396 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c25113d4ac20ceb2b7697e1df8dd649e01228779;p=emacs.git Don't resignal errors in flymake-diag-region * lisp/progmodes/flymake.el (flymake-diag-region): Use flymake-log instead of flymake-error. --- 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.