diff options
author | João Távora <joaotavora@gmail.com> | 2017-11-03 16:53:45 +0000 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2017-11-03 16:53:45 +0000 |
commit | c25113d4ac20ceb2b7697e1df8dd649e01228779 (patch) | |
tree | 30d535baa5d648bd87de5942f3ef8814695c76ce /lisp/progmodes/flymake.el | |
parent | e950f329c0cfbe9bf3ba2c2e8ee788d6cdf4cebb (diff) | |
download | emacs-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/progmodes/flymake.el')
-rw-r--r-- | lisp/progmodes/flymake.el | 2 |
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. |