diff options
Diffstat (limited to 'DOCS/man/lua.rst')
-rw-r--r-- | DOCS/man/lua.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index 2900a5393c..5da358a12c 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -240,7 +240,9 @@ The ``mp`` module is preloaded, although it can be loaded manually with an example). The name should be unique across other bindings in the same script - if not, the previous binding with the same name will be overwritten. You can omit the name, in which case a random name is generated - internally. + internally. (Omitting works as follows: either pass ``nil`` for ``name``, + or pass the ``fn`` argument in place of the name. The latter is not + recommended and is handled for compatibility only.) The last argument is used for optional flags. This is a table, which can have the following entries: |