+2004-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * data.c (Fbyteorder):
+ * fringe.c (Fdefine_fringe_bitmap):
+ * xdisp.c (handle_single_display_prop):
+ * xselect.c (x_handle_dnd_message): Lisp_Object/int mixup.
+
2004-02-16 Jason Rumney <jasonr@gnu.org>
* w32term.c (w32_draw_fringe_bitmap): Handle overlay fringe bitmaps.
unsigned i = 0x04030201;
int order = *(char *)&i == 4 ? 66 : 108;
- return XFASTINT (order);
+ return make_number (order);
}
if (NILP (which))
{
if (max_used_fringe_bitmap < MAX_FRINGE_BITMAPS)
- n = make_number (max_used_fringe_bitmap++);
+ n = max_used_fringe_bitmap++;
else
{
for (n = MAX_STANDARD_FRINGE_BITMAPS;
if (EQ (XCAR (prop), Qleft_fringe))
{
- it->left_user_fringe_bitmap = value;
+ it->left_user_fringe_bitmap = XINT (value);
it->left_user_fringe_face_id = face_id;
}
else
{
- it->right_user_fringe_bitmap = value;
+ it->right_user_fringe_bitmap = XINT (value);
it->right_user_fringe_face_id = face_id;
}
#endif /* HAVE_WINDOW_SYSTEM */
XSETFRAME (frame, f);
- vec = Fmake_vector (4, Qnil);
+ vec = Fmake_vector (make_number (4), Qnil);
AREF (vec, 0) = SYMBOL_NAME (x_atom_to_symbol (FRAME_X_DISPLAY (f),
event->message_type));
AREF (vec, 1) = frame;
- AREF (vec, 2) = XFASTINT (event->format);
+ AREF (vec, 2) = make_number (event->format);
AREF (vec, 3) = x_property_data_to_lisp (f,
event->data.b,
event->message_type,