From: Miles Bader Date: Sat, 18 Nov 2000 14:44:06 +0000 (+0000) Subject: (message_log_check_duplicate): Let "..."-detection match X-Git-Tag: emacs-pretest-21.0.91~18 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=509633e341042edf9290fd9705c27c35f1ce6aa9;p=emacs.git (message_log_check_duplicate): Let "..."-detection match lines that *end* with "..." too (that's the most common case!). --- diff --git a/src/ChangeLog b/src/ChangeLog index cc7d29e3466..3677236528a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2000-11-18 Miles Bader + + * 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 * xdisp.c (resize_mini_window): Temporarily change to the diff --git a/src/xdisp.c b/src/xdisp.c index b7343c47caa..0fccd379492 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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;