aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
diff options
context:
space:
mode:
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
---