* xdisp.c (decode_mode_spec): Fix sense of test whether Vline_number_display_limit is an integer.

This commit is contained in:
Ken Raeburn 2000-06-16 16:06:34 +00:00
parent b357b9d406
commit 37d034d3a4
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,8 @@
2000-06-16 Ken Raeburn <raeburn@gnu.org>
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL
termination of string.
termination of string. Fix sense of test whether
Vline_number_display_limit is an integer.
2000-06-16 Gerd Moellmann <gerd@gnu.org>

View file

@ -12297,7 +12297,7 @@ decode_mode_spec (w, c, field_width, precision)
w->base_line_pos = Qnil;
/* If the buffer is very big, don't waste time. */
if (!INTEGERP (Vline_number_display_limit)
if (INTEGERP (Vline_number_display_limit)
&& BUF_ZV (b) - BUF_BEGV (b) > XINT (Vline_number_display_limit))
{
w->base_line_pos = Qnil;