diff options
| author | Gerd Moellmann | 2001-09-11 12:25:06 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-11 12:25:06 +0000 |
| commit | d4881c6acbb41cfd507b533efdd2cdaaf5eac204 (patch) | |
| tree | 563a6b047e7d2ff816f0a06ab10bfd19ce64d439 /src/textprop.c | |
| parent | 4e1513b5948ef2d160e2b648e95dc6ce28221474 (diff) | |
| download | emacs-d4881c6acbb41cfd507b533efdd2cdaaf5eac204.tar.gz emacs-d4881c6acbb41cfd507b533efdd2cdaaf5eac204.zip | |
(verify_interval_modification): Don't run
modification-hooks if inhibit_modification_hooks.
Diffstat (limited to 'src/textprop.c')
| -rw-r--r-- | src/textprop.c | 5 |
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 @@ | |||
| 1 | /* Interface code for dealing with text properties. | 1 | /* Interface code for dealing with text properties. |
| 2 | Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001 |
| 3 | Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
| @@ -1901,7 +1902,7 @@ verify_interval_modification (buf, start, end) | |||
| 1901 | interval_insert_in_front_hooks | 1902 | interval_insert_in_front_hooks |
| 1902 | = textget (i->plist, Qinsert_in_front_hooks); | 1903 | = textget (i->plist, Qinsert_in_front_hooks); |
| 1903 | } | 1904 | } |
| 1904 | else | 1905 | else if (!inhibit_modification_hooks) |
| 1905 | { | 1906 | { |
| 1906 | /* Loop over intervals on or next to START...END, | 1907 | /* Loop over intervals on or next to START...END, |
| 1907 | collecting their hooks. */ | 1908 | collecting their hooks. */ |