aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index c150277ac3d..dc1148ecbaf 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3759,6 +3759,9 @@ decode_mode_spec (w, c, spec_width, maxwidth)
3759 don't forget that too fast. */ 3759 don't forget that too fast. */
3760 if (EQ (w->base_line_pos, w->buffer)) 3760 if (EQ (w->base_line_pos, w->buffer))
3761 goto no_value; 3761 goto no_value;
3762 /* But do forget it, if the window shows a different buffer now. */
3763 else if (BUFFERP (w->base_line_pos))
3764 w->base_line_pos = Qnil;
3762 3765
3763 /* If the buffer is very big, don't waste time. */ 3766 /* If the buffer is very big, don't waste time. */
3764 if (BUF_ZV (b) - BUF_BEGV (b) > line_number_display_limit) 3767 if (BUF_ZV (b) - BUF_BEGV (b) > line_number_display_limit)