Commit d31cd490 authored by Nicolas Richard's avatar Nicolas Richard

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).
parent bb2c6d2e
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment