aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1999-12-15 00:09:32 +0000
committerKenichi Handa1999-12-15 00:09:32 +0000
commit959804a08d561830acfa6b92b83a89e2640cbb4a (patch)
treee5c8e68ee884621c32815d1593ce3d18b179e0fb /src
parenta90fbbf691a03c1ddd34aa4b16d988d6e9fd502f (diff)
downloademacs-959804a08d561830acfa6b92b83a89e2640cbb4a.tar.gz
emacs-959804a08d561830acfa6b92b83a89e2640cbb4a.zip
(direct_output_forward_char): Check point moving into
or out of a composition. If so, give up direct method.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c5
1 files changed, 5 insertions, 0 deletions
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)
3266 struct window *w = XWINDOW (selected_window); 3266 struct window *w = XWINDOW (selected_window);
3267 struct glyph_row *row; 3267 struct glyph_row *row;
3268 3268
3269 /* Give up if point moved out of or into a composition. */
3270 if (check_point_in_composition (current_buffer, w->last_point,
3271 current_buffer, PT))
3272 return 0;
3273
3269 /* Give up if face attributes have been changed. */ 3274 /* Give up if face attributes have been changed. */
3270 if (face_change_count) 3275 if (face_change_count)
3271 return 0; 3276 return 0;