comparison src/xdisp.c @ 29698:9ad6e18de5f7

* xdisp.c (decode_mode_spec): Fix sense of test whether Vline_number_display_limit is an integer.
author Ken Raeburn <raeburn@raeburn.org>
date Fri, 16 Jun 2000 16:06:34 +0000
parents f24d81dfa064
children 1cd9b7a33ad1
comparison
equal deleted inserted replaced
29697:f24d81dfa064 29698:9ad6e18de5f7
12295 /* But do forget it, if the window shows a different buffer now. */ 12295 /* But do forget it, if the window shows a different buffer now. */
12296 else if (BUFFERP (w->base_line_pos)) 12296 else if (BUFFERP (w->base_line_pos))
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;
12304 w->base_line_number = Qnil; 12304 w->base_line_number = Qnil;
12305 goto no_value; 12305 goto no_value;