From 033416a15fe60fe10387119e0e63bb9ed9e8aedd Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 25 Jul 2009 23:34:13 -0400 Subject: Documentation overhaul. --- modules/textadept/run.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/run.lua') diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index d6fa0a24..fcdb6a43 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -20,7 +20,7 @@ function execute(command) local filedir, filename = filepath:match('^(.+[/\\])([^/\\]+)$') local filename_noext = filename:match('^(.+)%.') command = command:gsub('%%%b()', { - ['%(filepath)'] = filepath, _CHARSET, 'UTF-8', + ['%(filepath)'] = filepath, ['%(filedir)'] = filedir, ['%(filename)'] = filename, ['%(filename_noext)'] = filename_noext, -- cgit v1.2.3