The function
merge-ef-specs
returns an external format spec constructed by adding information not supplied in
ef-spec1
from
ef-spec2
.
Each external format spec argument is either a symbol or a list.
If ef-spec1 and ef-spec2 have the same value for their name component (whether they are lists or symbols), return ef-spec1 combined with any parameters from ef-spec2 that are not specified in ef-spec1 .
Otherwise, if
ef-spec1
is
:default
or a list beginning with
:default
, return
ef-spec2
with parameters modified to be a union of the parameters from
ef-spec1
and
ef-spec2
, with those from
ef-spec1
taking priority.
Otherwise, return
ef-spec1
with any
:eol-style
parameter from
ef-spec2
if
ef-spec1
does not specify
:eol-style
.