diff options
| author | João Távora | 2017-11-10 05:10:18 +0000 |
|---|---|---|
| committer | João Távora | 2017-11-10 05:10:18 +0000 |
| commit | e6f1fd40916afb692bd25e845ee87e73549201f4 (patch) | |
| tree | 5fa87aa552e20a72441db24e007042d8e86e56dc | |
| parent | 89382780e1729861d98eca6e028ca1c62662a59f (diff) | |
| download | emacs-e6f1fd40916afb692bd25e845ee87e73549201f4.tar.gz emacs-e6f1fd40916afb692bd25e845ee87e73549201f4.zip | |
Fix previous change to flymake-diag-region (bug#29174)
* lisp/progmodes/flymake.el (flymake-diag-region):
Pass line and col to commit.
| -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 ea63420dfae..b4ab7f223f2 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el | |||
| @@ -343,7 +343,7 @@ region is invalid." | |||
| 343 | (let* ((beg (fallback-bol)) | 343 | (let* ((beg (fallback-bol)) |
| 344 | (end (fallback-eol beg))) | 344 | (end (fallback-eol beg))) |
| 345 | (cons beg end))))))) | 345 | (cons beg end))))))) |
| 346 | (error (flymake-log :warning "Invalid region line=%s col=%s") | 346 | (error (flymake-log :warning "Invalid region line=%s col=%s" line col) |
| 347 | nil))) | 347 | nil))) |
| 348 | 348 | ||
| 349 | (defvar flymake-diagnostic-functions nil | 349 | (defvar flymake-diagnostic-functions nil |