]> git.eshelyaron.com Git - emacs.git/commit
Off-by-one error in compilation rule end-column function (bug#49624)
authorMattias Engdegård <mattiase@acm.org>
Sun, 18 Jul 2021 18:32:49 +0000 (20:32 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 23 Jul 2021 13:20:44 +0000 (15:20 +0200)
commitaa5437493b1ca539409495ecdc54cf420ea110b9
treec639b6850af6d0c4b86d9e4007b455e56574b1d0
parent109ca1bd00b56ba66b123b505d8c2187fded0ef7
Off-by-one error in compilation rule end-column function (bug#49624)

* lisp/progmodes/compile.el (compilation-error-properties):
When the end-column parameter of a compilation message rule
(in compilation-error-regexp-alist[-alist]) is a function, treat its
return value as if it were matched by the regexp, which is how it is
documented to work, and how all other parameters work.
lisp/progmodes/compile.el
test/lisp/progmodes/compile-tests.el