From: Nicolas Richard Date: Fri, 5 Jun 2015 16:57:26 +0000 (+0200) Subject: Do not adjust point in a non-selected window X-Git-Tag: emacs-25.0.90~1845 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d31cd490744b3fe43f6394c5973ebe48350f0eff;p=emacs.git Do not adjust point in a non-selected window * src/keyboard.c (command_loop_1): Do not adjust point when current buffer is not shown in selected window (Bug#20590). --- diff --git a/src/keyboard.c b/src/keyboard.c index ca589dd46f7..bedd10bc33e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1618,6 +1618,7 @@ command_loop_1 (void) finalize: if (current_buffer == prev_buffer + && XBUFFER (XWINDOW (selected_window)->contents) == current_buffer && last_point_position != PT && NILP (Vdisable_point_adjustment) && NILP (Vglobal_disable_point_adjustment))