org-resource-download-policy: Emphasize that the value of t is dangerous

* lisp/org.el (org-resource-download-policy): Mark value t in the
docstring dangerous.
This commit is contained in:
Ihor Radchenko 2024-03-26 14:10:52 +03:00
parent 9450468e5c
commit f0a92b1eb9
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 2 additions and 2 deletions

View File

@ -1449,7 +1449,7 @@ This affects keywords like #+setupfile and #+include on export,
Emacs sessions.
This recognizes four possible values:
- t, remote resources should always be downloaded.
- t (dangerous), remote resources should always be downloaded.
- prompt, you will be prompted to download resources not considered safe.
- safe, only resources considered safe will be downloaded.
- nil, never download remote resources.
@ -1458,7 +1458,7 @@ A resource is considered safe if it matches one of the patterns
in `org-safe-remote-resources'."
:group 'org
:package-version '(Org . "9.6")
:type '(choice (const :tag "Always download remote resources" t)
:type '(choice (const :tag "Always download remote resources (dangerous)" t)
(const :tag "Prompt before downloading an unsafe resource" prompt)
(const :tag "Only download resources considered safe" safe)
(const :tag "Never download any resources" nil)))