From 509633e341042edf9290fd9705c27c35f1ce6aa9 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 18 Nov 2000 14:44:06 +0000 Subject: [PATCH] (message_log_check_duplicate): Let "..."-detection match lines that *end* with "..." too (that's the most common case!). --- src/ChangeLog | 5 +++++ src/xdisp.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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; -- 2.39.5