From d9b36d19190320c497d9e3776f28b2ae4d132dae Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 26 Mar 2003 15:23:36 +0000 Subject: [PATCH] (store_symval_forwarding): Re-instate part of the code that was deleted with too much enthusiasm. --- src/ChangeLog | 26 ++++++++++++++++++++------ src/data.c | 1 + 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index d4ae917d9b1..2ce23055896 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,18 @@ +2003-03-26 Stefan Monnier + + * data.c (store_symval_forwarding): Re-instate part of the code + that was deleted with too much enthusiasm. + +2003-03-25 Stefan Monnier + + * data.c (store_symval_forwarding): Delete special read-only + hack for type == -1, since we now use ->constant instead. + (Fkill_local_variable): Don't use XBUFFER if it can be nil. + + * buffer.c (overlays_in): Declare static. + (syms_of_buffer) : Use the symbol's + `constant' field rather than the variable's `type' field. + 2003-03-24 Andrew Choi * config.in [MAC_OSX]: Do not redefine bcopy, bzero, and bcmp. @@ -10,15 +25,14 @@ * macgui.h: Remove definition of No_Cursor. - * macterm.h: Include Carbon.h. Replace (struct Cursor *) by - Cursor. + * macterm.h: Include Carbon.h. Replace (struct Cursor *) by Cursor. * xdisp.c: Define No_Cursor. (x_write_glyphs, notice_overwritten_cursor) (draw_phys_cursor_glyph, note_mode_line_or_margin_highlight) (note_mouse_highlight): Remove Mac-specific code. (note_mouse_highlight): Use bcmp instead of == to compare Cursors. - + 2003-03-24 John Paul Wallington * xdisp.c (redisplay_window): If mini window's buffer is not @@ -50,13 +64,13 @@ of scroll bar including borders. Clear left and right part outside scroll bar separately as some themes have bars that are not an even number of pixels. - Don't set reallocate_redraws, don't call + Don't set reallocate_redraws, don't call gdk_window_process_all_updates. (xg_set_toolkit_scroll_bar_thumb): Upper value is fixed, so no need to change it. Calculate size and value with XG_SB_RANGE. - * xterm.c (x_scroll_bar_create, XTset_vertical_scroll_bar): Pass - left and width of scroll bar including borders to + * xterm.c (x_scroll_bar_create, XTset_vertical_scroll_bar): + Pass left and width of scroll bar including borders to xg_update_scrollbar_pos. 2003-03-22 Thien-Thi Nguyen diff --git a/src/data.c b/src/data.c index 4d3be52075f..5b03f0ebff2 100644 --- a/src/data.c +++ b/src/data.c @@ -897,6 +897,7 @@ store_symval_forwarding (symbol, valcontents, newval, buf) int offset = XBUFFER_OBJFWD (valcontents)->offset; Lisp_Object type; + type = PER_BUFFER_TYPE (offset); if (! NILP (type) && ! NILP (newval) && XTYPE (newval) != XINT (type)) buffer_slot_type_mismatch (offset); -- 2.39.2