Mercurial > emacs
changeset 24565:6a5e69bcf530
(graft_intervals_into_buffer): Turn off
inhibit_modification_hooks around calling Fset_text_properties.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 06 Apr 1999 08:49:28 +0000 |
parents | 099921772183 |
children | 5082c3adfa2f |
files | src/intervals.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/intervals.c Tue Apr 06 03:45:37 1999 +0000 +++ b/src/intervals.c Tue Apr 06 08:49:28 1999 +0000 @@ -1579,10 +1579,13 @@ Lisp_Object buf; if (!inherit && ! NULL_INTERVAL_P (tree)) { + int saved_inhibit_modification_hooks = inhibit_modification_hooks; XSETBUFFER (buf, buffer); + inhibit_modification_hooks = 1; Fset_text_properties (make_number (position), make_number (position + length), Qnil, buf); + inhibit_modification_hooks = saved_inhibit_modification_hooks; } if (! NULL_INTERVAL_P (BUF_INTERVALS (buffer))) BUF_INTERVALS (buffer) = balance_an_interval (BUF_INTERVALS (buffer));