]> git.eshelyaron.com Git - emacs.git/commitdiff
(message_log_check_duplicate): Let "..."-detection match
authorMiles Bader <miles@gnu.org>
Sat, 18 Nov 2000 14:44:06 +0000 (14:44 +0000)
committerMiles Bader <miles@gnu.org>
Sat, 18 Nov 2000 14:44:06 +0000 (14:44 +0000)
lines that *end* with "..." too (that's the most common case!).

src/ChangeLog
src/xdisp.c

index cc7d29e346671ec631bbc8451f2e6c27a12eb44f..3677236528afbb31dcf54d3bc906dd74858e3146 100644 (file)
@@ -1,3 +1,8 @@
+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
index b7343c47caa3b7cf044f694f0c8aca98beb5d3bb..0fccd3794920587e27ed5c12bf42fecd574720d8 100644 (file)
@@ -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;