]> git.eshelyaron.com Git - emacs.git/commit
Flymake correctly highlights whole last line if eob (bug#29201)
authorJoão Távora <joaotavora@gmail.com>
Thu, 9 Nov 2017 21:16:40 +0000 (21:16 +0000)
committerJoão Távora <joaotavora@gmail.com>
Thu, 9 Nov 2017 21:16:40 +0000 (21:16 +0000)
commit535688a4181ae4052db354ce2b877507f11c9e66
treeab0a97c86fc695bff211516faa9dfbd7cfbbd6da
parent72e62d3fdb2b24dd9808f49fbbd864715337d2bf
Flymake correctly highlights whole last line if eob (bug#29201)

If a line/column pair indicates an end-of-buffer position, flymake
should behave like the case where the last line of the buffer is
referenced without a column indication.  This behavior is currently
to highlight the whole last line.

* lisp/progmodes/flymake.el (flymake-diag-region): Correct
conditions of fallback to the fallback-eol local function.
lisp/progmodes/flymake.el