summaryrefslogtreecommitdiff
path: root/src/textprop.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-09-11 12:25:06 +0000
committerGerd Moellmann <gerd@gnu.org>2001-09-11 12:25:06 +0000
commitd4881c6acbb41cfd507b533efdd2cdaaf5eac204 (patch)
tree563a6b047e7d2ff816f0a06ab10bfd19ce64d439 /src/textprop.c
parent4e1513b5948ef2d160e2b648e95dc6ce28221474 (diff)
downloademacs-d4881c6acbb41cfd507b533efdd2cdaaf5eac204.tar.gz
(verify_interval_modification): Don't run
modification-hooks if inhibit_modification_hooks.
Diffstat (limited to 'src/textprop.c')
-rw-r--r--src/textprop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/textprop.c b/src/textprop.c
index cf5ac5314e2..0bb2d42cdca 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -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 @@ verify_interval_modification (buf, start, end)
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. */