From d31cd490744b3fe43f6394c5973ebe48350f0eff Mon Sep 17 00:00:00 2001 From: Nicolas Richard Date: Fri, 5 Jun 2015 18:57:26 +0200 Subject: [PATCH] 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). --- src/keyboard.c | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.39.5