Commit 509633e3 authored by Miles Bader's avatar Miles Bader
Browse files

(message_log_check_duplicate): Let "..."-detection match

lines that *end* with "..." too (that's the most common case!).
parent 67988445
2000-11-18 Miles Bader <miles@gnu.org>
* xdisp.c (message_log_check_duplicate): Let "..."-detection match
lines that *end* with "..." too (that's the most common case!).
2000-11-18 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (resize_mini_window): Temporarily change to the
......
......@@ -5352,8 +5352,7 @@ message_log_check_duplicate (prev_bol, prev_bol_byte, this_bol, this_bol_byte)
for (i = 0; i < len; i++)
{
if (i >= 3 && p1[i-3] == '.' && p1[i-2] == '.' && p1[i-1] == '.'
&& p1[i] != '\n')
if (i >= 3 && p1[i-3] == '.' && p1[i-2] == '.' && p1[i-1] == '.')
seen_dots = 1;
if (p1[i] != p2[i])
return seen_dots;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment