From 4550efdf3fcf700f67efc0f40b6476dc3cc5fe58 Mon Sep 17 00:00:00 2001 From: Kazuhiro Ito Date: Fri, 1 Jul 2011 13:03:55 +0200 Subject: * coding.c (Fencode_coding_string): Record the last coding system used, as the function doc string says. Fixes: debbugs:8738 --- src/coding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/coding.c') diff --git a/src/coding.c b/src/coding.c index 9939774ea82..65c8a767c2b 100644 --- a/src/coding.c +++ b/src/coding.c @@ -9000,7 +9000,7 @@ not fully specified.) */) (Lisp_Object string, Lisp_Object coding_system, Lisp_Object nocopy, Lisp_Object buffer) { return code_convert_string (string, coding_system, buffer, - 1, ! NILP (nocopy), 1); + 1, ! NILP (nocopy), 0); } -- cgit v1.2.1