changeset 33594:a4cd4c93196b

(message_log_check_duplicate): Let "..."-detection match lines that *end* with "..." too (that's the most common case!).
author Miles Bader <miles@gnu.org>
date Sat, 18 Nov 2000 14:39:14 +0000
parents 6886ab23bdf4
children 4cb6f21c0991
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;