mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-13 06:50:39 -08:00
(decode_mode_spec): In the `L' case,
remove a buffer from base_line_pos if window has switched buffers.
This commit is contained in:
parent
3296453b8b
commit
5300fd39c3
1 changed files with 3 additions and 0 deletions
|
|
@ -3759,6 +3759,9 @@ decode_mode_spec (w, c, spec_width, maxwidth)
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue