aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fileio.c b/src/fileio.c
index cf0d84539d6..066668d107f 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4898,10 +4898,8 @@ choose_write_coding_system (start, end, filename,
4898 val = raw_text_coding_system (val); 4898 val = raw_text_coding_system (val);
4899 } 4899 }
4900 4900
4901 val = coding_inherit_eol_type (val, Qnil);
4901 setup_coding_system (val, coding); 4902 setup_coding_system (val, coding);
4902 if (! NILP (val)
4903 && VECTORP (CODING_ID_EOL_TYPE (coding->id)))
4904 val = AREF (CODING_ID_EOL_TYPE (coding->id), 0);
4905 4903
4906 if (!STRINGP (start) && !NILP (current_buffer->selective_display)) 4904 if (!STRINGP (start) && !NILP (current_buffer->selective_display))
4907 coding->mode |= CODING_MODE_SELECTIVE_DISPLAY; 4905 coding->mode |= CODING_MODE_SELECTIVE_DISPLAY;