Mercurial > emacs
diff src/xdisp.c @ 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 | b501918e1c9d |
children | c5f64497e92c |
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;