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 e8f7983b..440df9af 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -567,7 +567,7 @@ function M.select_command()
end
return setmetatable(M, {
- __index = function(_, k) return proxies[k] or M[k] end,
+ __index = function(_, k) return proxies[k] or rawget(M, k) end,
__newindex = function(_, k, v)
if k == 'menubar' then
set_menubar(v)