int c; \
\
if (CODING_ISO_FLAGS (coding) & CODING_ISO_FLAG_REVISION) \
- revision = XINT (CHARSET_ISO_REVISION (charset)); \
+ revision = CHARSET_ISO_REVISION (charset); \
\
if (revision >= 0) \
{ \
coding->dst_pos_byte + coding->produced);
undo_list = current_buffer->undo_list;
current_buffer->undo_list = Qt;
- del_range_2 (coding->dst_pos, coding->dst_pos_byte, GPT, GPT_BYTE, Qnil);
+ del_range_2 (coding->dst_pos, coding->dst_pos_byte, GPT, GPT_BYTE, 0);
current_buffer->undo_list = undo_list;
pbeg = GPT_ADDR;
pend = pbeg + coding->produced;
}
else
{
- int depth = Flength (Vcode_conversion_work_buf_list);
+ int depth = XINT (Flength (Vcode_conversion_work_buf_list));
char str[128];
sprintf (str, " *code-conversion-work*<%d>", depth);
code_conversion_restore (info)
Lisp_Object info;
{
- int depth = Flength (Vcode_conversion_work_buf_list);
+ int depth = XINT (Flength (Vcode_conversion_work_buf_list));
Lisp_Object buf;
if (depth > 0)
Fkill_buffer (buf);
}
- if (saved_coding->dst_object == Qt
+ if (EQ (saved_coding->dst_object, Qt)
&& saved_coding->destination)
xfree (saved_coding->destination);
Lisp_Object string, coding_system, nocopy, buffer;
{
return code_convert_string (string, coding_system, buffer,
- nocopy, ! NILP (nocopy), 1);
+ 1, ! NILP (nocopy), 1);
}
\f
{
val = Fcar (tail);
if (INTEGERP (val))
- ASET (valids, XINT (val), 1);
+ ASET (valids, XINT (val), make_number (1));
else
{
int from, to;
from = XINT (XCAR (val));
to = XINT (XCDR (val));
for (i = from; i <= to; i++)
- ASET (valids, i, 1);
+ ASET (valids, i, make_number (1));
}
}
ASET (attrs, coding_attr_ccl_valids, valids);