emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master d31cd49 2/2: Do not adjust point in a non-selected


From: Nicolas Richard
Subject: [Emacs-diffs] master d31cd49 2/2: Do not adjust point in a non-selected window
Date: Sat, 06 Jun 2015 06:42:13 +0000

branch: master
commit d31cd490744b3fe43f6394c5973ebe48350f0eff
Author: Nicolas Richard <address@hidden>
Commit: Nicolas Richard <address@hidden>

    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 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/keyboard.c b/src/keyboard.c
index ca589dd..bedd10b 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]