Commit 37d034d3 authored by Ken Raeburn's avatar Ken Raeburn
Browse files

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

parent b357b9d4
No preview for this file type
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment