diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index 872fd30e07..6c975d6bc8 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -2648,7 +2648,7 @@ string BufferParams::babelCall(string const & lang_opts, bool const langoptions) if (lang_package != "auto" && lang_package != "babel" && lang_package != "default" && lang_package != "none") return lang_package; - if (lang_package == "auto" + if (lang_package == "default" && lyxrc.language_package_selection == LyXRC::LP_CUSTOM) return lyxrc.language_custom_package; // suppress the babel call if there is no BabelName defined