aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2018-10-14 19:50:17 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2018-10-14 19:50:17 -0400
commit5e86b286cf366e0db1a361d36dba4dac6d6dd843 (patch)
tree94a27c66408588e218e965e5ec55528f2671f372 /modules/textadept/menu.lua
parentfca69ee9e7b7593005d6692911dfa2d081759762 (diff)
downloadtextadept-5e86b286cf366e0db1a361d36dba4dac6d6dd843.tar.gz
textadept-5e86b286cf366e0db1a361d36dba4dac6d6dd843.zip
Experimentally move external lspawn module into Lua os module as a patch.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r--modules/textadept/menu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index da9703b2..f82d36f6 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -44,7 +44,7 @@ local function set_encoding(encoding)
end
local function open_page(url)
local cmd = (WIN32 and 'start ""') or (OSX and 'open') or 'xdg-open'
- spawn(string.format('%s "%s"', cmd, not OSX and url or 'file://'..url))
+ os.spawn(string.format('%s "%s"', cmd, not OSX and url or 'file://'..url))
end
---