From ef27dd85a00687a8b4a21b56a6ea9170b1c146b5 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 28 Oct 2010 17:52:35 -0400 Subject: Rename MAC variable in to OSX in Lua, __OSX__ in C. --- modules/lua/commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/lua/commands.lua') diff --git a/modules/lua/commands.lua b/modules/lua/commands.lua index fef5713f..c6a65bcb 100644 --- a/modules/lua/commands.lua +++ b/modules/lua/commands.lua @@ -248,7 +248,7 @@ if type(keys) == 'table' then g = { goto_required }, }, ['s\n'] = { try_to_autocomplete_end }, - [not MAC and 'c\n' or 'esc'] = { function() -- complete API + [not OSX and 'c\n' or 'esc'] = { function() -- complete API local part = prev_word('[%w_]', buffer.current_pos) local pos = buffer.current_pos - #part - 1 if pos > 0 then -- cgit v1.2.3