# # # patch "std_hooks.lua" # from [e649c4ba5118116f0f6db708bbcd02b08f67d8f2] # to [d8c06cff3368b388f6b6268227e1432a94a3ed6f] # ============================================================ --- std_hooks.lua e649c4ba5118116f0f6db708bbcd02b08f67d8f2 +++ std_hooks.lua d8c06cff3368b388f6b6268227e1432a94a3ed6f @@ -313,7 +313,7 @@ function edit_comment(basetext, user_log -- anything more complicated than a single word with no metacharacters. -- This, unfortunately, means we have to quote the file argument. - if (not string.find(editor, "[^%w_.+-]")) then + if (not string.find(exe, "[^%w_.+-]")) then -- safe to call spawn directly if (execute(exe, tname) ~= 0) then io.write(string.format(gettext("Error running editor '%s' "..