changeset 9420:836113a97d92

(redisplay_window): Fix Oct 1 change: don't call cancel_my_columns unless we will call try_window.
author Richard M. Stallman <rms@gnu.org>
date Mon, 10 Oct 1994 21:30:56 +0000
parents b429144f6ace
children 44ebc50db2c5
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Oct 10 16:01:58 1994 +0000
+++ b/src/xdisp.c	Mon Oct 10 21:30:56 1994 +0000
@@ -1186,10 +1186,12 @@
 	    }
 	  /* If we are highlighting the region,
 	     then we just changed the region, so redisplay to show it.  */
-	  cancel_my_columns (XWINDOW (window));
 	  if (!NILP (Vtransient_mark_mode)
 	      && !NILP (current_buffer->mark_active))
-	    try_window (window, startp);
+	    {
+	      cancel_my_columns (XWINDOW (window));
+	      try_window (window, startp);
+	    }
 	}
       goto done;
     }