Mercurial > emacs
changeset 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 | bb36becbd66b |
files | src/ChangeLog src/xdisp.c |
diffstat | 2 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Fri Jun 16 16:00:52 2000 +0000 +++ b/src/xdisp.c Fri Jun 16 16:06:34 2000 +0000 @@ -12297,7 +12297,7 @@ 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;