Software /
code /
prosody
File
util/xpcall.lua @ 12223:a68f1617721b
README: Reflow text to ~78 columns
It's what `gwl` in my vim did. Must be optimal then.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 28 Jan 2022 14:19:05 +0100 |
parent | 9561:cfc7b2f7251e |
child | 12975:d10957394a3c |
line wrap: on
line source
local xpcall = xpcall; if select(2, xpcall(function (x) return x end, function () end, "test")) ~= "test" then xpcall = require"util.compat".xpcall; end return { xpcall = xpcall; };