comparison src/fileio.c @ 72405:8006b4a1c703

(choose_write_coding_system): Use LF for end-of-line in auto-saving.
author Kenichi Handa <handa@m17n.org>
date Wed, 16 Aug 2006 00:20:09 +0000
parents 6299774acc49
children dc615ff0529f
comparison
equal deleted inserted replaced
72404:705d28578f2d 72405:8006b4a1c703
4843 /* We use emacs-mule for auto saving... */ 4843 /* We use emacs-mule for auto saving... */
4844 setup_coding_system (Qemacs_mule, coding); 4844 setup_coding_system (Qemacs_mule, coding);
4845 /* ... but with the special flag to indicate not to strip off 4845 /* ... but with the special flag to indicate not to strip off
4846 leading code of eight-bit-control chars. */ 4846 leading code of eight-bit-control chars. */
4847 coding->flags = 1; 4847 coding->flags = 1;
4848 /* We force LF for end-of-line because that is faster. */
4849 coding->eol_type = CODING_EOL_LF;
4848 goto done_setup_coding; 4850 goto done_setup_coding;
4849 } 4851 }
4850 else if (!NILP (Vcoding_system_for_write)) 4852 else if (!NILP (Vcoding_system_for_write))
4851 { 4853 {
4852 val = Vcoding_system_for_write; 4854 val = Vcoding_system_for_write;