Commit 8b78d5e3 authored by Chong Yidong's avatar Chong Yidong
Browse files

* insdel.c (prepare_to_modify_buffer): Don't set

saved-region-selection if modification hooks are disabled.
parent 01d884cf
2010-10-21 Chong Yidong <cyd@stupidchicken.com>
* insdel.c (prepare_to_modify_buffer): Don't set
saved-region-selection if modification hooks are disabled.
2010-10-19 Chong Yidong <cyd@stupidchicken.com>
 
* cmds.c (Fdelete_char): Doc fix.
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment