diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/insdel.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d09fab7ca85..ecac971be19 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-10-21 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * insdel.c (prepare_to_modify_buffer): Don't set | ||
| 4 | saved-region-selection if modification hooks are disabled. | ||
| 5 | |||
| 1 | 2010-10-19 Chong Yidong <cyd@stupidchicken.com> | 6 | 2010-10-19 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * cmds.c (Fdelete_char): Doc fix. | 8 | * cmds.c (Fdelete_char): Doc fix. |
diff --git a/src/insdel.c b/src/insdel.c index abe6f350585..ff380ada192 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -2051,6 +2051,7 @@ prepare_to_modify_buffer (EMACS_INT start, EMACS_INT end, | |||
| 2051 | 2051 | ||
| 2052 | /* If `select-active-regions' is non-nil, save the region text. */ | 2052 | /* If `select-active-regions' is non-nil, save the region text. */ |
| 2053 | if (!NILP (current_buffer->mark_active) | 2053 | if (!NILP (current_buffer->mark_active) |
| 2054 | && !inhibit_modification_hooks | ||
| 2054 | && XMARKER (current_buffer->mark)->buffer | 2055 | && XMARKER (current_buffer->mark)->buffer |
| 2055 | && NILP (Vsaved_region_selection) | 2056 | && NILP (Vsaved_region_selection) |
| 2056 | && (EQ (Vselect_active_regions, Qonly) | 2057 | && (EQ (Vselect_active_regions, Qonly) |