summaryrefslogtreecommitdiff
path: root/support/texdoc/script
diff options
context:
space:
mode:
Diffstat (limited to 'support/texdoc/script')
-rw-r--r--support/texdoc/script/texdoclib-const.tlu4
-rw-r--r--support/texdoc/script/texdoclib-score.tlu4
2 files changed, 4 insertions, 4 deletions
diff --git a/support/texdoc/script/texdoclib-const.tlu b/support/texdoc/script/texdoclib-const.tlu
index d6def02f74..50d7ba4ca8 100644
--- a/support/texdoc/script/texdoclib-const.tlu
+++ b/support/texdoc/script/texdoclib-const.tlu
@@ -22,8 +22,8 @@ end
-- progname and version
fullname = kpse.find_file('texdoc/texdoclib', 'lua')
progname = 'Texdoc'
-version = '3.4'
-release_date = '2022-03-03'
+version = '3.4.1'
+release_date = '2022-03-19'
-- make sure to update setup_config_from_cl() accordingly
-- and set a default value in setup_config_from_defaults() if relevant
diff --git a/support/texdoc/script/texdoclib-score.tlu b/support/texdoc/script/texdoclib-score.tlu
index 5aca28ef73..d609224cea 100644
--- a/support/texdoc/script/texdoclib-score.tlu
+++ b/support/texdoc/script/texdoclib-score.tlu
@@ -211,8 +211,8 @@ local function set_score(df, original_kw)
end
-- bonus for locale
- if not is_alias then
- local config_lang = texdoc.config.get_value('lang')
+ local config_lang = texdoc.config.get_value('lang')
+ if not is_alias and config_lang ~= nil then
local file_lang = df.lang
if not file_lang then