diff options
-rw-r--r-- | modules/textadept/command_entry.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua index 14684f43..820ad751 100644 --- a/modules/textadept/command_entry.lua +++ b/modules/textadept/command_entry.lua @@ -108,7 +108,7 @@ local env = setmetatable({}, { __index = function(t, k) local f = buffer[k] if f and type(f) == 'function' then - f = function(...) buffer[k](buffer, ...) end + f = function(...) return buffer[k](buffer, ...) end elseif f == nil then f = view[k] or ui[k] or _G[k] end |