* src/fileio.c: Don't convert \r to \n just because of C-x $
(choose_write_coding_system): Setup the \r to \n conversion only if selective-display is t.
This commit is contained in:
parent
fa80f93ad1
commit
7f6c6253c9
1 changed files with 1 additions and 1 deletions
|
@ -4854,7 +4854,7 @@ choose_write_coding_system (Lisp_Object start, Lisp_Object end, Lisp_Object file
|
|||
val = coding_inherit_eol_type (val, eol_parent);
|
||||
setup_coding_system (val, coding);
|
||||
|
||||
if (!STRINGP (start) && !NILP (BVAR (current_buffer, selective_display)))
|
||||
if (!STRINGP (start) && EQ (Qt, BVAR (current_buffer, selective_display)))
|
||||
coding->mode |= CODING_MODE_SELECTIVE_DISPLAY;
|
||||
return val;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue