aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2003-03-26 15:23:36 +0000
committerStefan Monnier2003-03-26 15:23:36 +0000
commitd9b36d19190320c497d9e3776f28b2ae4d132dae (patch)
treecbaa146f27a252954e6d50b74166a46c3fd9c52e /src
parent01b2d1dd68eed4da7362cb4557b98211e3c0e2a9 (diff)
downloademacs-d9b36d19190320c497d9e3776f28b2ae4d132dae.tar.gz
emacs-d9b36d19190320c497d9e3776f28b2ae4d132dae.zip
(store_symval_forwarding): Re-instate part of the code
that was deleted with too much enthusiasm.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog26
-rw-r--r--src/data.c1
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 @@
12003-03-26 Stefan Monnier <monnier@cs.yale.edu>
2
3 * data.c (store_symval_forwarding): Re-instate part of the code
4 that was deleted with too much enthusiasm.
5
62003-03-25 Stefan Monnier <monnier@cs.yale.edu>
7
8 * data.c (store_symval_forwarding): Delete special read-only
9 hack for type == -1, since we now use ->constant instead.
10 (Fkill_local_variable): Don't use XBUFFER if it can be nil.
11
12 * buffer.c (overlays_in): Declare static.
13 (syms_of_buffer) <enable-multibyte-characters>: Use the symbol's
14 `constant' field rather than the variable's `type' field.
15
12003-03-24 Andrew Choi <akochoi@shaw.ca> 162003-03-24 Andrew Choi <akochoi@shaw.ca>
2 17
3 * config.in [MAC_OSX]: Do not redefine bcopy, bzero, and bcmp. 18 * config.in [MAC_OSX]: Do not redefine bcopy, bzero, and bcmp.
@@ -10,15 +25,14 @@
10 25
11 * macgui.h: Remove definition of No_Cursor. 26 * macgui.h: Remove definition of No_Cursor.
12 27
13 * macterm.h: Include Carbon.h. Replace (struct Cursor *) by 28 * macterm.h: Include Carbon.h. Replace (struct Cursor *) by Cursor.
14 Cursor.
15 29
16 * xdisp.c: Define No_Cursor. 30 * xdisp.c: Define No_Cursor.
17 (x_write_glyphs, notice_overwritten_cursor) 31 (x_write_glyphs, notice_overwritten_cursor)
18 (draw_phys_cursor_glyph, note_mode_line_or_margin_highlight) 32 (draw_phys_cursor_glyph, note_mode_line_or_margin_highlight)
19 (note_mouse_highlight): Remove Mac-specific code. 33 (note_mouse_highlight): Remove Mac-specific code.
20 (note_mouse_highlight): Use bcmp instead of == to compare Cursors. 34 (note_mouse_highlight): Use bcmp instead of == to compare Cursors.
21 35
222003-03-24 John Paul Wallington <jpw@gnu.org> 362003-03-24 John Paul Wallington <jpw@gnu.org>
23 37
24 * xdisp.c (redisplay_window): If mini window's buffer is not 38 * xdisp.c (redisplay_window): If mini window's buffer is not
@@ -50,13 +64,13 @@
50 of scroll bar including borders. 64 of scroll bar including borders.
51 Clear left and right part outside scroll bar separately as some 65 Clear left and right part outside scroll bar separately as some
52 themes have bars that are not an even number of pixels. 66 themes have bars that are not an even number of pixels.
53 Don't set reallocate_redraws, don't call 67 Don't set reallocate_redraws, don't call
54 gdk_window_process_all_updates. 68 gdk_window_process_all_updates.
55 (xg_set_toolkit_scroll_bar_thumb): Upper value is fixed, 69 (xg_set_toolkit_scroll_bar_thumb): Upper value is fixed,
56 so no need to change it. Calculate size and value with XG_SB_RANGE. 70 so no need to change it. Calculate size and value with XG_SB_RANGE.
57 71
58 * xterm.c (x_scroll_bar_create, XTset_vertical_scroll_bar): Pass 72 * xterm.c (x_scroll_bar_create, XTset_vertical_scroll_bar):
59 left and width of scroll bar including borders to 73 Pass left and width of scroll bar including borders to
60 xg_update_scrollbar_pos. 74 xg_update_scrollbar_pos.
61 75
622003-03-22 Thien-Thi Nguyen <ttn@gnu.org> 762003-03-22 Thien-Thi Nguyen <ttn@gnu.org>
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)
897 int offset = XBUFFER_OBJFWD (valcontents)->offset; 897 int offset = XBUFFER_OBJFWD (valcontents)->offset;
898 Lisp_Object type; 898 Lisp_Object type;
899 899
900 type = PER_BUFFER_TYPE (offset);
900 if (! NILP (type) && ! NILP (newval) 901 if (! NILP (type) && ! NILP (newval)
901 && XTYPE (newval) != XINT (type)) 902 && XTYPE (newval) != XINT (type))
902 buffer_slot_type_mismatch (offset); 903 buffer_slot_type_mismatch (offset);