aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiles Bader2000-11-18 14:44:06 +0000
committerMiles Bader2000-11-18 14:44:06 +0000
commit509633e341042edf9290fd9705c27c35f1ce6aa9 (patch)
treed14cc40e23cf26f96a2ca48db7c4df237d162cca /src
parent679884452349c5ed5029856cbb9f30fea5077a8f (diff)
downloademacs-509633e341042edf9290fd9705c27c35f1ce6aa9.tar.gz
emacs-509633e341042edf9290fd9705c27c35f1ce6aa9.zip
(message_log_check_duplicate): Let "..."-detection match
lines that *end* with "..." too (that's the most common case!).
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c3
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 @@
12000-11-18 Miles Bader <miles@gnu.org>
2
3 * xdisp.c (message_log_check_duplicate): Let "..."-detection match
4 lines that *end* with "..." too (that's the most common case!).
5
12000-11-18 Gerd Moellmann <gerd@gnu.org> 62000-11-18 Gerd Moellmann <gerd@gnu.org>
2 7
3 * xdisp.c (resize_mini_window): Temporarily change to the 8 * 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)
5352 5352
5353 for (i = 0; i < len; i++) 5353 for (i = 0; i < len; i++)
5354 { 5354 {
5355 if (i >= 3 && p1[i-3] == '.' && p1[i-2] == '.' && p1[i-1] == '.' 5355 if (i >= 3 && p1[i-3] == '.' && p1[i-2] == '.' && p1[i-1] == '.')
5356 && p1[i] != '\n')
5357 seen_dots = 1; 5356 seen_dots = 1;
5358 if (p1[i] != p2[i]) 5357 if (p1[i] != p2[i])
5359 return seen_dots; 5358 return seen_dots;