Mercurial > emacs
comparison src/callproc.c @ 19790:5f1711b00ca0
(Fcall_process_region): Fix previous change:
never override Vcoding_system_for_write.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 07 Sep 1997 04:25:59 +0000 |
parents | 1657f4dd8c05 |
children | 7e1bbe58eb02 |
comparison
equal
deleted
inserted
replaced
19789:a5c3942ea72b | 19790:5f1711b00ca0 |
---|---|
846 if (! NILP (Vbinary_process_input)) | 846 if (! NILP (Vbinary_process_input)) |
847 val = intern ("undecided-unix"); | 847 val = intern ("undecided-unix"); |
848 else | 848 else |
849 val = intern ("undecided-dos"); | 849 val = intern ("undecided-dos"); |
850 } | 850 } |
851 else if (SYMBOLP (val)) | 851 else if (SYMBOLP (val) && NILP (Vcoding_system_for_write)) |
852 { | 852 { |
853 Lisp_Object eolval; | 853 Lisp_Object eolval; |
854 eolval = Fget (val, Qeol_type); | 854 eolval = Fget (val, Qeol_type); |
855 if (VECTORP (eolval) && XVECTOR (eolval)->size > 1) | 855 if (VECTORP (eolval) && XVECTOR (eolval)->size > 1) |
856 /* Use element 1 (CRLF conversion) for "text", | 856 /* Use element 1 (CRLF conversion) for "text", |