manpage: fix typo

Change 'already by defined' to 'already defined' and reformat the
paragaph.
This commit is contained in:
Guido Cella 2020-09-06 13:58:03 +02:00 committed by Leo Izen
parent f57b90b069
commit 5a4fc8684e
1 changed files with 4 additions and 4 deletions

View File

@ -777,10 +777,10 @@ expression returns true, the profile is applied, if it returns false, it is
ignored. This Lua code execution is not sandboxed.
Any variables in condition expressions can reference properties. If an
identifier is not already by defined by Lua or mpv, it is interpreted as
property. For example, ``pause`` would return the current pause status. If the
variable name contains any ``_`` characters, they are turned into ``-``. For
example, ``playback_time`` would return the property ``playback-time``.
identifier is not already defined by Lua or mpv, it is interpreted as property.
For example, ``pause`` would return the current pause status. If the variable
name contains any ``_`` characters, they are turned into ``-``. For example,
``playback_time`` would return the property ``playback-time``.
A more robust way to access properties is using ``p.property_name`` or
``get("property-name", default_value)``. The automatic variable to property