changeset 49664:8bcbac2617a9

(Fset_buffer_multibyte): If the current buffer has a process, update coding systems for the process.
author Kenichi Handa <handa@m17n.org>
date Mon, 10 Feb 2003 07:43:03 +0000
parents a6a0f5a21e52
children c102e97c89eb
files src/buffer.c
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Mon Feb 10 04:01:56 2003 +0000
+++ b/src/buffer.c	Mon Feb 10 07:43:03 2003 +0000
@@ -2288,6 +2288,15 @@
   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;
 }