diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-02-07 04:11:05 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-02-07 04:11:05 +0000 |
commit | 01143ff20cd8eef5055fad9a74ed93fc9d575725 (patch) | |
tree | 25fbed55dd7f2842c260908ac0f7f3d11b4a1be5 /src/buffer.c | |
parent | 16349e8caf4a6ebe697f90ca9160c7cb37904425 (diff) | |
download | emacs-01143ff20cd8eef5055fad9a74ed93fc9d575725.tar.gz |
* 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.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index c18e3ad8ddf..f48254142e1 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4227,8 +4227,10 @@ add_overlay_mod_hooklist (functionlist, overlay) 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 |