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

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

* lisp/progmodes/flymake.el (flymake-diag-region):
Pass line and col to commit.
parent 89382780
......@@ -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
......
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