summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2021-10-12 08:11:11 +0300
committerAvi Halachmi (:avih) <avihpit@yahoo.com>2021-10-12 14:12:24 +0300
commitf386fd79b2df57d54d5ec0d93d4958f56a527631 (patch)
treebd67271624b1540c60358c23a74f5e8e1427b2e8 /DOCS
parenta3ef4c62fc5039e524d91f1e41bd51ba363489d8 (diff)
downloadmpv-f386fd79b2df57d54d5ec0d93d4958f56a527631.tar.bz2
mpv-f386fd79b2df57d54d5ec0d93d4958f56a527631.tar.xz
js: custom init: ignore ~~/.init.js with --no-config
The custom init script should be considered a configuration file, and as such it should be ignored when the user wants vanilla mpv - and now it is ignored with --no-config.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/javascript.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/DOCS/man/javascript.rst b/DOCS/man/javascript.rst
index a8687ff692..75d3033f4e 100644
--- a/DOCS/man/javascript.rst
+++ b/DOCS/man/javascript.rst
@@ -343,6 +343,8 @@ for all scripts. E.g. if it contains ``mp.module_paths.push("/foo")`` then
(do NOT do ``mp.module_paths = ["/foo"];`` because this will remove existing
paths - like ``<script-dir>/modules`` for scripts which load from a directory).
+The custom-init file is ignored if mpv is invoked with ``--no-config``.
+
The event loop
--------------