diff options
author | 2010-10-28 17:52:35 -0400 | |
---|---|---|
committer | 2010-10-28 17:52:35 -0400 | |
commit | ef27dd85a00687a8b4a21b56a6ea9170b1c146b5 (patch) | |
tree | 6ccfc025cbcf2a1b244880984d4ee74e1bb4998a /modules/lua/commands.lua | |
parent | 0ebbe321af357655d6833f9ca0792b3e212e57f8 (diff) | |
download | textadept-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.lua | 2 |
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 |