aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/composite.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/composite.c b/src/composite.c
index c18d8eb749c..c3bf6878ce3 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -489,6 +489,9 @@ update_compositions (from, to, check_mask)
489 Lisp_Object prop; 489 Lisp_Object prop;
490 int start, end; 490 int start, end;
491 491
492 if (inhibit_modification_hooks)
493 return;
494
492 /* If FROM and TO are not in a valid range, do nothing. */ 495 /* If FROM and TO are not in a valid range, do nothing. */
493 if (! (BEGV <= from && from <= to && to <= ZV)) 496 if (! (BEGV <= from && from <= to && to <= ZV))
494 return; 497 return;
@@ -602,7 +605,7 @@ compose_chars_in_text (start, end, string)
602 int start, end; 605 int start, end;
603 Lisp_Object string; 606 Lisp_Object string;
604{ 607{
605 int count; 608 int count = 0;
606 struct gcpro gcpro1; 609 struct gcpro gcpro1;
607 Lisp_Object tail, elt, val, to; 610 Lisp_Object tail, elt, val, to;
608 /* Set to nonzero if we don't have to compose ASCII characters. */ 611 /* Set to nonzero if we don't have to compose ASCII characters. */