]> git.eshelyaron.com Git - emacs.git/commitdiff
(direct_output_forward_char): Give up if we need bidi
authorKenichi Handa <handa@m17n.org>
Wed, 3 Mar 2004 23:53:43 +0000 (23:53 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 3 Mar 2004 23:53:43 +0000 (23:53 +0000)
processing or buffer's orientation is right-to-left.

src/dispnew.c

index 63435c54d8231f6e08df24a8905836103b616788..02694deb13139126617c145f7dde4dc535ea0ba8 100644 (file)
@@ -3676,8 +3676,12 @@ direct_output_forward_char (n)
   if (!display_completed || cursor_in_echo_area)
     return 0;
 
-  /* Give up if the buffer's direction is reversed.  */
-  if (!NILP (XBUFFER (w->buffer)->direction_reversed))
+  /* Give up if we need bidi display.  */
+  if (!NILP (XBUFFER (w->buffer)->enable_bidi_display))
+    return 0;
+
+  /* Give up if the buffer's orientation is reversed.  */
+  if (!NILP (XBUFFER (w->buffer)->orientation_reversed))
     return 0;
 
   /* Can't use direct output if highlighting a region.  */