From 180bad5d0b91766b26564c2ae89d91d4330bef5f Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 10 Aug 2007 23:59:17 -0400 Subject: Renamed textadept.handlers' add_function_to_handler to add_handler_function. --- core/ext/pm/macro_browser.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/ext/pm/macro_browser.lua') diff --git a/core/ext/pm/macro_browser.lua b/core/ext/pm/macro_browser.lua index 237aa9fb..3fc38aca 100644 --- a/core/ext/pm/macro_browser.lua +++ b/core/ext/pm/macro_browser.lua @@ -35,9 +35,9 @@ function perform_menu_action(menu_item, selected_item) textadept.pm.activate() end -local add_function_to_handler = textadept.handlers.add_function_to_handler +local add_handler_function = textadept.handlers.add_handler_function local function update_view() if matches(textadept.pm.entry_text) then textadept.pm.activate() end end -add_function_to_handler('macro_saved', update_view) -add_function_to_handler('macro_deleted', update_view) +add_handler_function('macro_saved', update_view) +add_handler_function('macro_deleted', update_view) -- cgit v1.2.3