From 73aa7484f23b5fc006d930200b366d5193af9fe3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 9 May 2016 20:39:33 +0200 Subject: manpage: fix some script_message references to preferred name --- DOCS/man/lua.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'DOCS/man/lua.rst') diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index 6b2c5af031..35124a788f 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -454,9 +454,9 @@ are useful only in special situations. The level is a string, see ``msg.log`` for allowed log levels. ``mp.register_script_message(name, fn)`` - This is a helper to dispatch ``script_message`` or ``script_message_to`` - invocations to Lua functions. ``fn`` is called if ``script_message`` or - ``script_message_to`` (with this script as destination) is run + This is a helper to dispatch ``script-message`` or ``script-message-to`` + invocations to Lua functions. ``fn`` is called if ``script-message`` or + ``script-message-to`` (with this script as destination) is run with ``name`` as first parameter. The other parameters are passed to ``fn``. If a message with the given name is already registered, it's overwritten. -- cgit v1.2.3