# HG changeset patch # User Miles Bader # Date 974558354 0 # Node ID a4cd4c93196b2f933358b6136274cdd5161a5e96 # Parent 6886ab23bdf487856e046f0847133a354f7672f0 (message_log_check_duplicate): Let "..."-detection match lines that *end* with "..." too (that's the most common case!). diff -r 6886ab23bdf4 -r a4cd4c93196b src/xdisp.c --- a/src/xdisp.c Sat Nov 18 14:20:06 2000 +0000 +++ b/src/xdisp.c Sat Nov 18 14:39:14 2000 +0000 @@ -5352,8 +5352,7 @@ 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;