aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/macros.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/macros.lua')
-rw-r--r--modules/textadept/macros.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/macros.lua b/modules/textadept/macros.lua
index 0ba966c6..0d81f105 100644
--- a/modules/textadept/macros.lua
+++ b/modules/textadept/macros.lua
@@ -38,7 +38,7 @@ local function macro_notification(msg, wParam, lParam)
textadept.statusbar_text = 'Macro recording'
end
end
-textadept.handlers.add_function_to_handler('macro_record', macro_notification)
+textadept.handlers.add_handler_function('macro_record', macro_notification)
---
-- Starts recording a macro.