changeset 26851:2513566d55fd

(direct_output_forward_char): Check point moving into or out of a composition. If so, give up direct method.
author Kenichi Handa <handa@m17n.org>
date Wed, 15 Dec 1999 00:09:32 +0000
parents d00beb113ad5
children a06c16bde275
files src/dispnew.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Wed Dec 15 00:09:03 1999 +0000
+++ b/src/dispnew.c	Wed Dec 15 00:09:32 1999 +0000
@@ -3266,6 +3266,11 @@
   struct window *w = XWINDOW (selected_window);
   struct glyph_row *row;
 
+  /* Give up if point moved out of or into a composition.  */
+  if (check_point_in_composition (current_buffer, w->last_point,
+				  current_buffer, PT))
+    return 0;
+
   /* Give up if face attributes have been changed.  */
   if (face_change_count)
     return 0;