]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug #17777 with keyboard macros and visual-order cursor movement.
authorEli Zaretskii <eliz@gnu.org>
Sat, 14 Jun 2014 11:09:10 +0000 (14:09 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 14 Jun 2014 11:09:10 +0000 (14:09 +0300)
 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
src/xdisp.c

index 87b9b32510e9080c87ffc2c55f482acf44181a7e..6e312e79d7d4e20ecb7a8c817996eb45b0e6a740 100644 (file)
@@ -1,3 +1,10 @@
+2014-06-14  Eli Zaretskii  <eliz@gnu.org>
+
+       * 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  <eliz@gnu.org>
 
        * alloc.c (cleanup_vector): Don't dereference a font driver
index adcd281334f04561ec04178ac403f58d19f7abb6..cb92ab7c952805a1edb044e702acc955a965d765 100644 (file)
@@ -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