aboutsummaryrefslogtreecommitdiff
path: root/modules/lua/commands.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-10-28 17:52:35 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-10-28 17:52:35 -0400
commitef27dd85a00687a8b4a21b56a6ea9170b1c146b5 (patch)
tree6ccfc025cbcf2a1b244880984d4ee74e1bb4998a /modules/lua/commands.lua
parent0ebbe321af357655d6833f9ca0792b3e212e57f8 (diff)
downloadtextadept-ef27dd85a00687a8b4a21b56a6ea9170b1c146b5.tar.gz
textadept-ef27dd85a00687a8b4a21b56a6ea9170b1c146b5.zip
Rename MAC variable in to OSX in Lua, __OSX__ in C.
Diffstat (limited to 'modules/lua/commands.lua')
-rw-r--r--modules/lua/commands.lua2
1 files changed, 1 insertions, 1 deletions
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