* coding.c (Fencode_coding_string): Record the last coding system
authorKazuhiro Ito <kzhr@d1.dion.ne.jp>
Fri, 1 Jul 2011 11:03:55 +0000 (13:03 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 1 Jul 2011 11:03:55 +0000 (13:03 +0200)
used, as the function doc string says.

Fixes: debbugs:8738

src/ChangeLog
src/coding.c

index bf9f7be..2f7e192 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-01  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (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  <jan.h.d@swipnet.se>
 
        * xsettings.c (store_monospaced_changed): Take new font as arg and
index 9939774..65c8a76 100644 (file)
@@ -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);
 }
 
 \f