Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/buffer.c Thu Feb 07 01:34:52 2008 +0000 +++ b/src/buffer.c Thu Feb 07 04:11:05 2008 +0000 @@ -4227,8 +4227,10 @@ if (last_overlay_modification_hooks_used == oldsize) last_overlay_modification_hooks = larger_vector (last_overlay_modification_hooks, oldsize * 2, Qnil); - AREF (last_overlay_modification_hooks, last_overlay_modification_hooks_used++) = functionlist; - AREF (last_overlay_modification_hooks, last_overlay_modification_hooks_used++) = overlay; + ASET (last_overlay_modification_hooks, last_overlay_modification_hooks_used, + functionlist); last_overlay_modification_hooks_used++; + ASET (last_overlay_modification_hooks, last_overlay_modification_hooks_used, + overlay); last_overlay_modification_hooks_used++; } /* Run the modification-hooks of overlays that include
