%
% luatexja-fontspec.sty
%

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luatexja-fontspec}[2014/12/03 fontspec support of LuaTeX-ja]
\RequirePackage{l3keys2e,luatexja}
\ExplSyntaxOn

\bool_new:N \ltj_fontspec_match
\cs_set:Nn  \ltj_fontspec_pass_opts: {}
\keys_define:nn { luatexja-fontspec }
  {
    match .bool_set:N = \ltj_fontspec_match_bool,
    match .default:n  = true,
    pass .code:n = \cs_set:Nn \ltj_fontspec_pass_opts: {#1},% 互換性
  }
\ProcessKeysOptions { luatexja-fontspec }
\RequirePackage[\ltj_fontspec_pass_opts:]{fontspec}[2014/06/01]
%\cs_if_exist:NTF \fontspec_update_featstr:n {
%  \RequirePackage{luatexja-fontspec-23}
%} {
  \RequirePackage{luatexja-fontspec-24}
%}

\endinput
