aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/command_entry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua
index 214241a4..f5fef2f6 100644
--- a/modules/textadept/command_entry.lua
+++ b/modules/textadept/command_entry.lua
@@ -103,7 +103,7 @@ end
function M.finish_mode(f)
if M:auto_c_active() then return false end -- allow Enter to autocomplete
M.enter_mode(nil)
- if f then f(M:get_text()) end
+ if f then f((M:get_text())) end
end
-- Environment for abbreviated Lua commands.