Again thanks to Scott for finding this. The removal of the check for full
unicode in
eb121f999 was not wanted. Now listings can be exported to
lualatex and xetex again.
// need to force a fixed width encoding for
// \lstlistlistingname and \lstlistingname (bug 9382).
// This needs to be consistent with InsetListings::latex().
- bool const need_fixedwidth = it->second.fixedwidthpreambleencoding();
+ bool const need_fixedwidth = !runparams_.isFullUnicode() &&
+ it->second.fixedwidthpreambleencoding();
// language dependent commands (once per document)
snippets.insert(i18npreamble(it->second.langpreamble(),
buffer().language(),