1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-19 04:10:18 -08:00

* coding.c (Fencode_coding_string): Record the last coding system

used, as the function doc string says.

Fixes: debbugs:8738
This commit is contained in:
Kazuhiro Ito 2011-07-01 13:03:55 +02:00 committed by Lars Magne Ingebrigtsen
parent 5bd3590262
commit 4550efdf3f
2 changed files with 6 additions and 1 deletions

View 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);
}