]> git.eshelyaron.com Git - emacs.git/commitdiff
* xdisp.c (redisplay): If we're not already showing the region,
authorJim Blandy <jimb@redhat.com>
Wed, 30 Jun 1993 21:30:25 +0000 (21:30 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 30 Jun 1993 21:30:25 +0000 (21:30 +0000)
then don't disable the single-line optimizations just because the
mark isn't where we last displayed it.

src/xdisp.c

index 33e58eb95f45fab86e128e602f0634d9288d4942..a716a25c3e5ef9c2f96baa60bb4d7f56b9f3f761 100644 (file)
@@ -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;