diff options
Diffstat (limited to 'src/insdel.c')
| -rw-r--r-- | src/insdel.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/insdel.c b/src/insdel.c index abe6f350585..b62889082fd 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -73,9 +73,6 @@ Lisp_Object combine_after_change_list; | |||
| 73 | Lisp_Object combine_after_change_buffer; | 73 | Lisp_Object combine_after_change_buffer; |
| 74 | 74 | ||
| 75 | Lisp_Object Qinhibit_modification_hooks; | 75 | Lisp_Object Qinhibit_modification_hooks; |
| 76 | |||
| 77 | extern Lisp_Object Vselect_active_regions, Vsaved_region_selection, Qonly; | ||
| 78 | |||
| 79 | 76 | ||
| 80 | /* Check all markers in the current buffer, looking for something invalid. */ | 77 | /* Check all markers in the current buffer, looking for something invalid. */ |
| 81 | 78 | ||
| @@ -2051,6 +2048,7 @@ prepare_to_modify_buffer (EMACS_INT start, EMACS_INT end, | |||
| 2051 | 2048 | ||
| 2052 | /* If `select-active-regions' is non-nil, save the region text. */ | 2049 | /* If `select-active-regions' is non-nil, save the region text. */ |
| 2053 | if (!NILP (current_buffer->mark_active) | 2050 | if (!NILP (current_buffer->mark_active) |
| 2051 | && !inhibit_modification_hooks | ||
| 2054 | && XMARKER (current_buffer->mark)->buffer | 2052 | && XMARKER (current_buffer->mark)->buffer |
| 2055 | && NILP (Vsaved_region_selection) | 2053 | && NILP (Vsaved_region_selection) |
| 2056 | && (EQ (Vselect_active_regions, Qonly) | 2054 | && (EQ (Vselect_active_regions, Qonly) |
| @@ -2394,5 +2392,3 @@ as well as hooks attached to text properties and overlays. */); | |||
| 2394 | defsubr (&Scombine_after_change_execute); | 2392 | defsubr (&Scombine_after_change_execute); |
| 2395 | } | 2393 | } |
| 2396 | 2394 | ||
| 2397 | /* arch-tag: 9b34b886-47d7-465e-a234-299af411b23d | ||
| 2398 | (do not change this comment) */ | ||