aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/command_entry.lua')
-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 540c2510..7929a6b8 100644
--- a/modules/textadept/command_entry.lua
+++ b/modules/textadept/command_entry.lua
@@ -207,7 +207,7 @@ function M.run(f, keys, lexer, height)
local mode_history = history[history.mode]
mode_history[#mode_history + 1] = M:get_text()
mode_history.pos = #mode_history + 1
- f((M:get_text()))
+ f(M:get_text())
end
end
if not getmetatable(keys) then setmetatable(keys, M.editing_keys) end