Provides a default end of line style for a file.
default-eol-style pathname ef-spec buffer length => new-ef-spec
Pathname identifying location of buffer.
An external format spec.
A buffer whose contents are examined.
Length (an integer) up to which buffer should be examined.
A new external format spec created by merging ef-spec with the encoding that was found.
Merge ef-spec with
(:default :eol-style :crlf) on Microsoft Windows,
(:default :eol-style :lf) on non-Windows platforms. This is usually used as the last function on its list.
LispWorks User Guide and Reference Manual - 20 Sep 2017