summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2014-06-14 14:09:10 +0300
committerEli Zaretskii <eliz@gnu.org>2014-06-14 14:09:10 +0300
commit59579a97d870807c635292178a2697f20d8720bd (patch)
tree0a8cca4e913e6fea710a7f697703347b8a76caab /src/xdisp.c
parent5be5f2854a9105e65679ef6af87f4ebb490e9961 (diff)
downloademacs-59579a97d870807c635292178a2697f20d8720bd.tar.gz
Fix bug #17777 with keyboard macros and visual-order cursor movement.
src/xdisp.c (Fmove_point_visually): Don't use the glyph matrix information if we are in the middle of executing a keyboard macro, since redisplay doesn't update the screen until the macro is finished.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index adcd281334f..cb92ab7c952 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -20757,6 +20757,7 @@ Value is the new character position of point. */)
recorded in the glyphs, at least as long as the goal is on the
screen. */
if (w->window_end_valid
+ && NILP (Vexecuting_kbd_macro)
&& !windows_or_buffers_changed
&& b
&& !b->clip_changed