comparison src/buffer.c @ 91607:d1e53221c4aa

* xselect.c (x_handle_dnd_message): * xmenu.c (digest_single_submenu, xmenu_show): * xdisp.c (with_echo_area_buffer_unwind_data, format_mode_line_unwind_data) (unwind_format_mode_line, display_menu_bar): * eval.c (Ffetch_bytecode): * doc.c (store_function_docstring): * ccl.c (resolve_symbol_ccl_program, ccl_get_compiled_code) (Fccl_execute, Fccl_execute_on_string, Fregister_code_conversion_map): * buffer.c (add_overlay_mod_hooklist): Use ASET.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 07 Feb 2008 04:11:05 +0000
parents c70e45a7acfd
children 9f409926e851
comparison
equal deleted inserted replaced
91606:88c477bbeb74 91607:d1e53221c4aa
4225 int oldsize = XVECTOR (last_overlay_modification_hooks)->size; 4225 int oldsize = XVECTOR (last_overlay_modification_hooks)->size;
4226 4226
4227 if (last_overlay_modification_hooks_used == oldsize) 4227 if (last_overlay_modification_hooks_used == oldsize)
4228 last_overlay_modification_hooks = larger_vector 4228 last_overlay_modification_hooks = larger_vector
4229 (last_overlay_modification_hooks, oldsize * 2, Qnil); 4229 (last_overlay_modification_hooks, oldsize * 2, Qnil);
4230 AREF (last_overlay_modification_hooks, last_overlay_modification_hooks_used++) = functionlist; 4230 ASET (last_overlay_modification_hooks, last_overlay_modification_hooks_used,
4231 AREF (last_overlay_modification_hooks, last_overlay_modification_hooks_used++) = overlay; 4231 functionlist); last_overlay_modification_hooks_used++;
4232 ASET (last_overlay_modification_hooks, last_overlay_modification_hooks_used,
4233 overlay); last_overlay_modification_hooks_used++;
4232 } 4234 }
4233 4235
4234 /* Run the modification-hooks of overlays that include 4236 /* Run the modification-hooks of overlays that include
4235 any part of the text in START to END. 4237 any part of the text in START to END.
4236 If this change is an insertion, also 4238 If this change is an insertion, also