diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 9 |
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 | ||