From 4550efdf3fcf700f67efc0f40b6476dc3cc5fe58 Mon Sep 17 00:00:00 2001 From: Kazuhiro Ito Date: Fri, 1 Jul 2011 13:03:55 +0200 Subject: [PATCH] * coding.c (Fencode_coding_string): Record the last coding system used, as the function doc string says. Fixes: debbugs:8738 --- src/ChangeLog | 5 +++++ src/coding.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index bf9f7be831e..2f7e192fbac 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-07-01 Kazuhiro Ito (tiny patch) + + * coding.c (Fencode_coding_string): Record the last coding system + used, as the function doc string says (bug#8738). + 2011-07-01 Jan Djärv * xsettings.c (store_monospaced_changed): Take new font as arg and 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); } -- 2.39.2