Previous: Line ends by filename, Up: Line ends

5.6.3 CR/LF translation by file system

The variable untranslated-filesystem-list defines whole directory trees that should not have CR/LF autodetection performed on them. The list can be manipulated with the functions add-untranslated-filesystem and remove-untranslated-filesystem. With auto-detection in recent versions of Emacs, this is seldom useful for existing files, but can still be used to influence the choice of line ends for newly created files.