Mercurial > emacs
diff src/buffer.c @ 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 | 23a1cea22d13 |
children | 3420da3e4b0f d7ddb3e565de |
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; }