* xdisp.c (decode_mode_spec): Fix sense of test whether Vline_number_display_limit is an integer.
This commit is contained in:
parent
b357b9d406
commit
37d034d3a4
2 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
2000-06-16 Ken Raeburn <raeburn@gnu.org>
|
2000-06-16 Ken Raeburn <raeburn@gnu.org>
|
||||||
|
|
||||||
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL
|
* 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>
|
2000-06-16 Gerd Moellmann <gerd@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -12297,7 +12297,7 @@ decode_mode_spec (w, c, field_width, precision)
|
||||||
w->base_line_pos = Qnil;
|
w->base_line_pos = Qnil;
|
||||||
|
|
||||||
/* If the buffer is very big, don't waste time. */
|
/* 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))
|
&& BUF_ZV (b) - BUF_BEGV (b) > XINT (Vline_number_display_limit))
|
||||||
{
|
{
|
||||||
w->base_line_pos = Qnil;
|
w->base_line_pos = Qnil;
|
||||||
|
|
Loading…
Add table
Reference in a new issue