diff options
author | Ihor Radchenko <yantar92@posteo.net> | 2024-02-20 12:47:24 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-03-24 08:40:48 -0400 |
commit | 6f9ea396f49cbe38c2173e0a72ba6af3e03b271c (patch) | |
tree | fadae4916375ceef762715fdbd450a641a4b54ff /lisp/org/ob-scheme.el | |
parent | 937b9042ad7426acdcca33e3d931d8f495bdd804 (diff) | |
download | emacs-6f9ea396f49cbe38c2173e0a72ba6af3e03b271c.tar.gz emacs-6f9ea396f49cbe38c2173e0a72ba6af3e03b271c.tar.bz2 emacs-6f9ea396f49cbe38c2173e0a72ba6af3e03b271c.zip |
org-latex-preview: Add protection when `untrusted-content' is non-nil
* lisp/org/org.el (org--latex-preview-when-risky): New variable
controlling how to handle LaTeX previews in Org files from untrusted
origin.
(org-latex-preview): Consult `org--latex-preview-when-risky' before
generating previews.
This patch adds a layer of protection when LaTeX preview is requested
for an email attachment, where `untrusted-content' is set to non-nil.
Diffstat (limited to 'lisp/org/ob-scheme.el')
0 files changed, 0 insertions, 0 deletions