From: Mattias EngdegÄrd Date: Mon, 26 Jul 2021 19:18:42 +0000 (+0200) Subject: Adjust grep-mode end-col function return value X-Git-Tag: emacs-28.0.90~1687 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4f43058e9a69552e4bf600fd7a93bc1c459742ef;p=emacs.git Adjust grep-mode end-col function return value * lisp/progmodes/grep.el (grep-regexp-alist): Adjust the return value from the END-COL function by one since it is now (after fixing bug#49624) inclusive. Found by Juri Linkov. --- diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 91c72a9429f..8f0a5acf708 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -389,7 +389,7 @@ Notice that using \\[next-error] or \\[compile-goto-error] modifies (and mbeg (next-single-property-change mbeg 'font-lock-face nil end)))) (when mend - (- mend beg)))))) + (- mend beg 1)))))) nil nil (3 '(face nil display ":"))) ("^Binary file \\(.+\\) matches" 1 nil nil 0 1))