]> code.delx.au - gnu-emacs/blobdiff - src/insdel.c
Fix ob-lisp.el expectation that slime would be available
[gnu-emacs] / src / insdel.c
index abe6f3505852d7754e8bda1ca60ecceff3187aa6..ff380ada1928eb96011b36cd08884d8f832cdd9f 100644 (file)
@@ -2051,6 +2051,7 @@ prepare_to_modify_buffer (EMACS_INT start, EMACS_INT end,
 
   /* If `select-active-regions' is non-nil, save the region text.  */
   if (!NILP (current_buffer->mark_active)
+      && !inhibit_modification_hooks
       && XMARKER (current_buffer->mark)->buffer
       && NILP (Vsaved_region_selection)
       && (EQ (Vselect_active_regions, Qonly)