Commit 172f9454 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Fset_buffer_multibyte): If the current buffer has a

process, update coding systems for the process.
parent b057ab61
......@@ -2288,6 +2288,15 @@ but the contents viewed as characters do change. */)
if (!modified_p && !NILP (Fbuffer_modified_p (Qnil)))
Fset_buffer_modified_p (Qnil);
/* Update coding systems of this buffer's process (if any). */
{
Lisp_Object process;
process = Fget_buffer_process (Fcurrent_buffer ());
if (PROCESSP (process))
setup_process_coding_systems (process);
}
return flag;
}
......
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