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 | |
| 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')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/textprop.c | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 61fcbf13a62..da8b012b3ae 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2001-09-11 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-09-11 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * textprop.c (verify_interval_modification): Don't run | ||
| 4 | modification-hooks if inhibit_modification_hooks. | ||
| 5 | |||
| 6 | * dispnew.c (set_window_cursor_after_update): Fix code | ||
| 7 | finding glyph row containing cursor when cursor_in_echo_area | ||
| 8 | is >= 0. | ||
| 9 | |||
| 3 | * xdisp.c (init_from_display_pos): Put some code in #if 0. | 10 | * xdisp.c (init_from_display_pos): Put some code in #if 0. |
| 4 | (add_to_log): Use bcopy instead of strcpy. | 11 | (add_to_log): Use bcopy instead of strcpy. |
| 5 | (init_from_display_pos): Use an explicit loop over bytes in | 12 | (init_from_display_pos): Use an explicit loop over bytes in |
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. */ |