diff options
author | 2007-08-10 23:59:17 -0400 | |
---|---|---|
committer | 2007-08-10 23:59:17 -0400 | |
commit | 180bad5d0b91766b26564c2ae89d91d4330bef5f (patch) | |
tree | 62a4e5ab89c5e0773020b87e376d9327a4115cae /core/ext/mime_types.lua | |
parent | 6804993bd99c7aebf18a9f824405fadca8250c62 (diff) |
Renamed textadept.handlers' add_function_to_handler to add_handler_function.
Diffstat (limited to 'core/ext/mime_types.lua')
-rw-r--r-- | core/ext/mime_types.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/ext/mime_types.lua b/core/ext/mime_types.lua index 489f1d4a..ec4ef808 100644 --- a/core/ext/mime_types.lua +++ b/core/ext/mime_types.lua @@ -120,7 +120,7 @@ local function handle_switch() end local handlers = textadept.handlers -handlers.add_function_to_handler('file_opened', handle_new) -handlers.add_function_to_handler('file_saved_as', handle_new) -handlers.add_function_to_handler('buffer_switch', handle_switch) -handlers.add_function_to_handler('view_new', handle_switch) +handlers.add_handler_function('file_opened', handle_new) +handlers.add_handler_function('file_saved_as', handle_new) +handlers.add_handler_function('buffer_switch', handle_switch) +handlers.add_handler_function('view_new', handle_switch) |