projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb2c6d2
)
Do not adjust point in a non-selected window
author
Nicolas Richard
<youngfrog@members.fsf.org>
Fri, 5 Jun 2015 16:57:26 +0000
(18:57 +0200)
committer
Nicolas Richard
<youngfrog@members.fsf.org>
Sat, 6 Jun 2015 06:34:47 +0000
(08:34 +0200)
* src/keyboard.c (command_loop_1): Do not adjust point when
current buffer is not shown in selected window (Bug#20590).
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index ca589dd46f71aacb78abc46c8b6c7608d3f7ea3c..bedd10bc33e1f613127e66b48472c56514656aea 100644
(file)
--- 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))