From: Karl Heuer Date: Mon, 1 May 1995 23:12:19 +0000 (+0000) Subject: (redisplay): Don't move the cursor if it's supposed to X-Git-Tag: emacs-19.34~4217 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8b51f1e300367009435d3c7fb3a3b5d4695121ac;p=emacs.git (redisplay): Don't move the cursor if it's supposed to be in the echo area. --- diff --git a/src/xdisp.c b/src/xdisp.c index d6881d42e15..1fa29343966 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -898,10 +898,12 @@ redisplay () } 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,