Mercurial > emacs
changeset 39046:a61b3d907098
(update_compositions): Do nothing if
inhibit-modification-hooks is set.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 31 Aug 2001 08:03:43 +0000 |
parents | 2a7279b2f60d |
children | d177c68813c0 |
files | src/composite.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/composite.c Fri Aug 31 07:44:38 2001 +0000 +++ b/src/composite.c Fri Aug 31 08:03:43 2001 +0000 @@ -489,6 +489,9 @@ Lisp_Object prop; int start, end; + if (inhibit_modification_hooks) + return; + /* If FROM and TO are not in a valid range, do nothing. */ if (! (BEGV <= from && from <= to && to <= ZV)) return; @@ -602,7 +605,7 @@ int start, end; Lisp_Object string; { - int count; + int count = 0; struct gcpro gcpro1; Lisp_Object tail, elt, val, to; /* Set to nonzero if we don't have to compose ASCII characters. */