Commit 8000e212 authored by Ken Raeburn's avatar Ken Raeburn
Browse files

* coding.h (code_convert_string): Declare.

* coding.c (code_convert_string_norecord): Pass an int, not a lisp object, as
the fourth argument to code_convert_string.
parent f3231837
......@@ -5654,7 +5654,7 @@ code_convert_string_norecord (string, coding_system, encodep)
coding.composing = COMPOSITION_DISABLED;
coding.mode |= CODING_MODE_LAST_BLOCK;
return code_convert_string (string, &coding, encodep, Qt);
return code_convert_string (string, &coding, encodep, 1);
DEFUN ("decode-sjis-char", Fdecode_sjis_char, Sdecode_sjis_char, 1, 1, 0,
......@@ -597,6 +597,8 @@ extern int conversion_buffer_size;
extern char *conversion_buffer;
extern char *get_conversion_buffer P_ ((int));
extern int setup_coding_system P_ ((Lisp_Object, struct coding_system *));
extern Lisp_Object code_convert_string P_ ((Lisp_Object,
struct coding_system *, int, int));
extern void setup_raw_text_coding_system P_ ((struct coding_system *));
extern Lisp_Object Qcoding_system, Qeol_type, Qcoding_category_index;
extern Lisp_Object Qraw_text, Qemacs_mule;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment