aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2003-02-10 07:43:03 +0000
committerKenichi Handa2003-02-10 07:43:03 +0000
commit172f945448fc46c7a3a97333ffd097a62dd70266 (patch)
treea99eafc98cb88632cb18ced956985e767d773f5b /src
parentb057ab619d4f7bcd880ee313697f845be22715cf (diff)
downloademacs-172f945448fc46c7a3a97333ffd097a62dd70266.tar.gz
emacs-172f945448fc46c7a3a97333ffd097a62dd70266.zip
(Fset_buffer_multibyte): If the current buffer has a
process, update coding systems for the process.
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 06663c9abd7..77aa61d45ba 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2288,6 +2288,15 @@ but the contents viewed as characters do change. */)
2288 if (!modified_p && !NILP (Fbuffer_modified_p (Qnil))) 2288 if (!modified_p && !NILP (Fbuffer_modified_p (Qnil)))
2289 Fset_buffer_modified_p (Qnil); 2289 Fset_buffer_modified_p (Qnil);
2290 2290
2291 /* Update coding systems of this buffer's process (if any). */
2292 {
2293 Lisp_Object process;
2294
2295 process = Fget_buffer_process (Fcurrent_buffer ());
2296 if (PROCESSP (process))
2297 setup_process_coding_systems (process);
2298 }
2299
2291 return flag; 2300 return flag;
2292} 2301}
2293 2302