aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicolas Richard2015-06-05 18:57:26 +0200
committerNicolas Richard2015-06-06 08:34:47 +0200
commitd31cd490744b3fe43f6394c5973ebe48350f0eff (patch)
tree3da1c1e2b5998d4299aeef481c12dff3d83e8f9c /src
parentbb2c6d2eb51a7efc200691181ea7b6f17f8f383c (diff)
downloademacs-d31cd490744b3fe43f6394c5973ebe48350f0eff.tar.gz
emacs-d31cd490744b3fe43f6394c5973ebe48350f0eff.zip
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).
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c1
1 files changed, 1 insertions, 0 deletions
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)
1618 finalize: 1618 finalize:
1619 1619
1620 if (current_buffer == prev_buffer 1620 if (current_buffer == prev_buffer
1621 && XBUFFER (XWINDOW (selected_window)->contents) == current_buffer
1621 && last_point_position != PT 1622 && last_point_position != PT
1622 && NILP (Vdisable_point_adjustment) 1623 && NILP (Vdisable_point_adjustment)
1623 && NILP (Vglobal_disable_point_adjustment)) 1624 && NILP (Vglobal_disable_point_adjustment))