summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2017-11-10 05:10:18 +0000
committerJoão Távora <joaotavora@gmail.com>2017-11-10 05:10:18 +0000
commite6f1fd40916afb692bd25e845ee87e73549201f4 (patch)
tree5fa87aa552e20a72441db24e007042d8e86e56dc /lisp/progmodes
parent89382780e1729861d98eca6e028ca1c62662a59f (diff)
downloademacs-e6f1fd40916afb692bd25e845ee87e73549201f4.tar.gz
Fix previous change to flymake-diag-region (bug#29174)
* lisp/progmodes/flymake.el (flymake-diag-region): Pass line and col to commit.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/flymake.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index ea63420dfae..b4ab7f223f2 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -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