aboutsummaryrefslogtreecommitdiffstats
path: root/src/insdel.c
diff options
context:
space:
mode:
authorStefan Monnier2010-12-10 19:13:08 -0500
committerStefan Monnier2010-12-10 19:13:08 -0500
commit2c302df3a13236bfbf8ea1b771d13618fcda8d71 (patch)
treef26dc9f22861dc37610de319d05255de058c221b /src/insdel.c
parent0c747cb143fa227e78f350ac353d703f489209df (diff)
parent175069efeb080517afefdd44a06f7a779ea8c25c (diff)
downloademacs-2c302df3a13236bfbf8ea1b771d13618fcda8d71.tar.gz
emacs-2c302df3a13236bfbf8ea1b771d13618fcda8d71.zip
Merge from trunk
Diffstat (limited to 'src/insdel.c')
-rw-r--r--src/insdel.c6
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;
73Lisp_Object combine_after_change_buffer; 73Lisp_Object combine_after_change_buffer;
74 74
75Lisp_Object Qinhibit_modification_hooks; 75Lisp_Object Qinhibit_modification_hooks;
76
77extern 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) */