HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c4d03
)
(choose_write_coding_system): Fix synching with HEAD.
author
Kenichi Handa
<handa@m17n.org>
Mon, 15 May 2006 02:45:49 +0000
(
02:45
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 15 May 2006 02:45:49 +0000
(
02:45
+0000)
src/fileio.c
patch
|
blob
|
blame
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index
cf0d845
..
066668d
100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-4898,10
+4898,8
@@
choose_write_coding_system (start, end, filename,
val = raw_text_coding_system (val);
}
+ val = coding_inherit_eol_type (val, Qnil);
setup_coding_system (val, coding);
- if (! NILP (val)
- && VECTORP (CODING_ID_EOL_TYPE (coding->id)))
- val = AREF (CODING_ID_EOL_TYPE (coding->id), 0);
if (!STRINGP (start) && !NILP (current_buffer->selective_display))
coding->mode |= CODING_MODE_SELECTIVE_DISPLAY;