diff options
| author | Stefan Monnier | 2003-07-09 15:10:47 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-07-09 15:10:47 +0000 |
| commit | 2410d73a13c00d0f1c0cfb3b1ef21a837a9100e3 (patch) | |
| tree | e7fc5f8bdaea89d8bcb65ac62ed4a06c311fbdb7 /src/ChangeLog | |
| parent | f54253ec86cd867b20e348eb036522b4dc9733a8 (diff) | |
| download | emacs-2410d73a13c00d0f1c0cfb3b1ef21a837a9100e3.tar.gz emacs-2410d73a13c00d0f1c0cfb3b1ef21a837a9100e3.zip | |
(overlay_strings, recenter_overlay_lists): Fix typo in eassert in last commit.
(unchain_overlay): New function.
(add_overlay_mod_hooklist): Use AREF.
(copy_overlays, reset_buffer, overlays_at, overlays_in)
(overlay_touches_p, overlay_strings, recenter_overlay_lists)
(fix_overlays_in_range, fix_overlays_before, Fmake_overlay)
(Fmove_overlay, Fdelete_overlay, Foverlay_lists)
(report_overlay_modification, evaporate_overlays, init_buffer_once):
Adjust to new type of overlays_(before|after).
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c23a1cebe41..dd9d9cecb26 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,40 @@ | |||
| 1 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | Change overlays_after and overlays_before so the overlays themselves | ||
| 4 | are linked into lists, rather than using cons cells. After all each | ||
| 5 | Lisp_Misc already occupies 5 words, so we can add a `next' field to | ||
| 6 | Lisp_Overlay for free and save up one cons cell per overlay (not | ||
| 7 | to mention one indirection when traversing the list of overlay). | ||
| 8 | |||
| 9 | * lisp.h (struct Lisp_Overlay): New field `next'. | ||
| 10 | |||
| 11 | * buffer.h (struct buffer): Change overlays_before and overlays_after | ||
| 12 | from Lisp lists of overlays to pointers to overlays. | ||
| 13 | |||
| 14 | * buffer.c (overlay_strings, recenter_overlay_lists): | ||
| 15 | Fix typo in eassert in last commit. | ||
| 16 | (unchain_overlay): New function. | ||
| 17 | (add_overlay_mod_hooklist): Use AREF. | ||
| 18 | (copy_overlays, reset_buffer, overlays_at, overlays_in) | ||
| 19 | (overlay_touches_p, overlay_strings, recenter_overlay_lists) | ||
| 20 | (fix_overlays_in_range, fix_overlays_before, Fmake_overlay) | ||
| 21 | (Fmove_overlay, Fdelete_overlay, Foverlay_lists) | ||
| 22 | (report_overlay_modification, evaporate_overlays, init_buffer_once): | ||
| 23 | Adjust to new type of overlays_(before|after). | ||
| 24 | |||
| 25 | * alloc.c (mark_object): Mark the new `next' field of overlays. | ||
| 26 | (mark_buffer): Manually mark the overlays_(after|before) fields. | ||
| 27 | |||
| 28 | * coding.c (run_pre_post_conversion_on_str): | ||
| 29 | * editfns.c (overlays_around): | ||
| 30 | * xdisp.c (load_overlay_strings): | ||
| 31 | * fileio.c (Finsert_file_contents): | ||
| 32 | * indent.c (current_column): | ||
| 33 | * insdel.c (signal_before_change, signal_after_change): | ||
| 34 | * intervals.c (set_point_both): | ||
| 35 | * print.c (temp_output_buffer_setup): Use new type for | ||
| 36 | overlays_(before|after). | ||
| 37 | |||
| 1 | 2003-07-08 Stefan Monnier <monnier@cs.yale.edu> | 38 | 2003-07-08 Stefan Monnier <monnier@cs.yale.edu> |
| 2 | 39 | ||
| 3 | * buffer.c (report_overlay_modification): Don't run hooks while | 40 | * buffer.c (report_overlay_modification): Don't run hooks while |