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).
This commit is contained in:
parent
bb2c6d2eb5
commit
d31cd49074
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue