changeset 11641:748feea0a51a

(redisplay): Don't move the cursor if it's supposed to be in the echo area.
author Karl Heuer <kwzh@gnu.org>
date Mon, 01 May 1995 23:12:19 +0000
parents 370e1016aba2
children ffbb4fa31092
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon May 01 18:26:28 1995 +0000
+++ b/src/xdisp.c	Mon May 01 23:12:19 1995 +0000
@@ -898,10 +898,12 @@
 	    }
 	  goto update;
 	}
-      /* If highlighting the region, we can't just move the cursor.  */
+      /* If highlighting the region, or if the cursor is in the echo area,
+	 then we can't just move the cursor.  */
       else if (! (!NILP (Vtransient_mark_mode)
 		  && !NILP (current_buffer->mark_active))
-	       && NILP (w->region_showing))
+	       && NILP (w->region_showing)
+	       && !cursor_in_echo_area)
 	{
 	  pos = *compute_motion (tlbufpos, 0,
 				 XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0,