changeset 39242:ba9a0646b0a5

(verify_interval_modification): Don't run modification-hooks if inhibit_modification_hooks.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 11 Sep 2001 12:24:44 +0000
parents 2743aa3f704e
children c7eaef59d498
files src/textprop.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/textprop.c	Tue Sep 11 08:43:02 2001 +0000
+++ b/src/textprop.c	Tue Sep 11 12:24:44 2001 +0000
@@ -1,5 +1,6 @@
 /* Interface code for dealing with text properties.
-   Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001
+   Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -1901,7 +1902,7 @@
 	interval_insert_in_front_hooks
 	  = textget (i->plist, Qinsert_in_front_hooks);
     }
-  else
+  else if (!inhibit_modification_hooks)
     {
       /* Loop over intervals on or next to START...END,
 	 collecting their hooks.  */