]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix previous change to flymake-diag-region (bug#29174)
authorJoão Távora <joaotavora@gmail.com>
Fri, 10 Nov 2017 05:10:18 +0000 (05:10 +0000)
committerJoão Távora <joaotavora@gmail.com>
Fri, 10 Nov 2017 05:10:18 +0000 (05:10 +0000)
* lisp/progmodes/flymake.el (flymake-diag-region):
Pass line and col to commit.

lisp/progmodes/flymake.el

index ea63420dfae5c396e886710ce06b970c3aa5cbcf..b4ab7f223f28a3a2addb193cb42c9cdddb5693d1 100644 (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