Commit 82d04750 authored by Jim Blandy's avatar Jim Blandy
Browse files

* xdisp.c (redisplay): If we're not already showing the region,

	then don't disable the single-line optimizations just because the
	mark isn't where we last displayed it.
parent 0bf0c097
......@@ -435,8 +435,9 @@ redisplay ()
if (((!NILP (Vtransient_mark_mode)
&& !NILP (XBUFFER (w->buffer)->mark_active))
!= !NILP (w->region_showing))
|| !EQ (w->region_showing,
Fmarker_position (XBUFFER (w->buffer)->mark)))
|| (!NILP (w->region_showing)
&& !EQ (w->region_showing,
Fmarker_position (XBUFFER (w->buffer)->mark))))
this_line_bufpos = -1;
tlbufpos = this_line_bufpos;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment