Fix previous change to flymake-diag-region (bug#29174)

* lisp/progmodes/flymake.el (flymake-diag-region):
Pass line and col to commit.
This commit is contained in:
João Távora 2017-11-10 05:10:18 +00:00
parent 89382780e1
commit e6f1fd4091

View file

@ -343,7 +343,7 @@ region is invalid."
(let* ((beg (fallback-bol))
(end (fallback-eol beg)))
(cons beg end)))))))
(error (flymake-log :warning "Invalid region line=%s col=%s")
(error (flymake-log :warning "Invalid region line=%s col=%s" line col)
nil)))
(defvar flymake-diagnostic-functions nil