aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/xdisp.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d2ed2280ea0..fde27d1fbe3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,7 +1,8 @@
12000-06-16 Ken Raeburn <raeburn@gnu.org> 12000-06-16 Ken Raeburn <raeburn@gnu.org>
2 2
3 * xdisp.c (decode_mode_spec): In "no_value" case, do NUL 3 * xdisp.c (decode_mode_spec): In "no_value" case, do NUL
4 termination of string. 4 termination of string. Fix sense of test whether
5 Vline_number_display_limit is an integer.
5 6
62000-06-16 Gerd Moellmann <gerd@gnu.org> 72000-06-16 Gerd Moellmann <gerd@gnu.org>
7 8
diff --git a/src/xdisp.c b/src/xdisp.c
index 2e57f620867..5676aa4b245 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -12297,7 +12297,7 @@ decode_mode_spec (w, c, field_width, precision)
12297 w->base_line_pos = Qnil; 12297 w->base_line_pos = Qnil;
12298 12298
12299 /* If the buffer is very big, don't waste time. */ 12299 /* If the buffer is very big, don't waste time. */
12300 if (!INTEGERP (Vline_number_display_limit) 12300 if (INTEGERP (Vline_number_display_limit)
12301 && BUF_ZV (b) - BUF_BEGV (b) > XINT (Vline_number_display_limit)) 12301 && BUF_ZV (b) - BUF_BEGV (b) > XINT (Vline_number_display_limit))
12302 { 12302 {
12303 w->base_line_pos = Qnil; 12303 w->base_line_pos = Qnil;