# HG changeset patch # User Richard M. Stallman # Date 846345639 0 # Node ID c6a338fd193857c60d186465bdcefb72f2bae6fb # Parent de67834f456dc5fa880321ffb8591e1df903e251 (decode_mode_spec): In the `L' case, remove a buffer from base_line_pos if window has switched buffers. diff -r de67834f456d -r c6a338fd1938 src/xdisp.c --- a/src/xdisp.c Fri Oct 25 04:43:06 1996 +0000 +++ b/src/xdisp.c Sat Oct 26 16:00:39 1996 +0000 @@ -3759,6 +3759,9 @@ don't forget that too fast. */ if (EQ (w->base_line_pos, w->buffer)) goto no_value; + /* But do forget it, if the window shows a different buffer now. */ + else if (BUFFERP (w->base_line_pos)) + w->base_line_pos = Qnil; /* If the buffer is very big, don't waste time. */ if (BUF_ZV (b) - BUF_BEGV (b) > line_number_display_limit)