From: Kenichi Handa Date: Wed, 15 Dec 1999 00:09:32 +0000 (+0000) Subject: (direct_output_forward_char): Check point moving into X-Git-Tag: emacs-pretest-21.0.90~5757 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=959804a08d561830acfa6b92b83a89e2640cbb4a;p=emacs.git (direct_output_forward_char): Check point moving into or out of a composition. If so, give up direct method. --- diff --git a/src/dispnew.c b/src/dispnew.c index 9cdf01e6987..8ce4e419565 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -3266,6 +3266,11 @@ direct_output_forward_char (n) 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;