Mercurial > emacs
changeset 3937:adcbf7680a35
* 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.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 30 Jun 1993 21:30:25 +0000 |
parents | d42ad851d210 |
children | 83d870a52936 |
files | src/xdisp.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Wed Jun 30 20:58:28 1993 +0000 +++ b/src/xdisp.c Wed Jun 30 21:30:25 1993 +0000 @@ -435,8 +435,9 @@ 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;