Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
49663:a6a0f5a21e52 | 49664:8bcbac2617a9 |
---|---|
2285 } | 2285 } |
2286 | 2286 |
2287 /* Restore the modifiedness of the buffer. */ | 2287 /* Restore the modifiedness of the buffer. */ |
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 | |
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 } | |
2290 | 2299 |
2291 return flag; | 2300 return flag; |
2292 } | 2301 } |
2293 | 2302 |
2294 DEFUN ("kill-all-local-variables", Fkill_all_local_variables, Skill_all_local_variables, | 2303 DEFUN ("kill-all-local-variables", Fkill_all_local_variables, Skill_all_local_variables, |