diff options
| author | Kenichi Handa | 2006-05-15 02:45:49 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2006-05-15 02:45:49 +0000 |
| commit | 6f90170c47942c8b3b1ae09e8264f7eaadf89d4c (patch) | |
| tree | c0773a74f56be701b68e9c086bb4a292888a9fbe /src | |
| parent | f0c4d038a9128d279385511064315407eec510ad (diff) | |
| download | emacs-6f90170c47942c8b3b1ae09e8264f7eaadf89d4c.tar.gz emacs-6f90170c47942c8b3b1ae09e8264f7eaadf89d4c.zip | |
(choose_write_coding_system): Fix synching with HEAD.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 4 |
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; |