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. --- modules/textadept/keys.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/keys.lua') diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index 77a5cef7..f7131782 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -127,7 +127,7 @@ function keypress(code, shift, control, alt) else return true end end end -textadept.handlers.add_function_to_handler('keypress', keypress, 1) +textadept.handlers.add_handler_function('keypress', keypress, 1) -- Note the following functions are called inside pcall so error handling or -- checking if keys exist etc. is not necessary. -- cgit v1.2.3