• Jim Blandy's avatar
    The text property routines can now modify buffers other · 04a759c8
    Jim Blandy authored
    	than the current one.
    	* insdel.c (modify_region): New argument BUFFER.  Select that
    	buffer while we prepare for the modification, and switch back when
    	we're done.
    	* textprop.c (add_properties, remove_properties): Pass
    	the buffer being modified as the first argument to modify_region.
    	* editfns.c (Fsubst_char_in_region, Ftranslate_region): Pass the
    	current_buffer as the first argument to modify_region.
    	* casefiddle.c (casify_region): Same.
    04a759c8
textprop.c 28.6 KB