diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2021-07-26 21:18:42 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2021-07-26 21:25:20 +0200 |
commit | 4f43058e9a69552e4bf600fd7a93bc1c459742ef (patch) | |
tree | 63faaf8aaec9444511bd8159d25717081d7bfd1c | |
parent | 67fe106d1007d3cef58aa789327ad66ed71e4902 (diff) | |
download | emacs-4f43058e9a69552e4bf600fd7a93bc1c459742ef.tar.gz emacs-4f43058e9a69552e4bf600fd7a93bc1c459742ef.tar.bz2 emacs-4f43058e9a69552e4bf600fd7a93bc1c459742ef.zip |
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.
-rw-r--r-- | lisp/progmodes/grep.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |