From 59579a97d870807c635292178a2697f20d8720bd Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 14 Jun 2014 14:09:10 +0300 Subject: [PATCH] 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. --- src/ChangeLog | 7 +++++++ src/xdisp.c | 1 + 2 files changed, 8 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 87b9b32510e..6e312e79d7d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2014-06-14 Eli Zaretskii + + * 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. (Bug#17777) + 2014-06-13 Eli Zaretskii * alloc.c (cleanup_vector): Don't dereference a font driver 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 -- 2.11.4.GIT