lisp/org.el (untrusted-content): Fix for Emacs <29.3
* lisp/org.el (untrusted-content): Define the variable ourselves when not defined by Emacs.
This commit is contained in:
parent
656531edbe
commit
d7f7b63a77
|
@ -1136,7 +1136,9 @@ the following lines anywhere in the buffer:
|
|||
:package-version '(Org . "8.0")
|
||||
:type 'boolean)
|
||||
|
||||
(defvar untrusted-content) ; defined in files.el
|
||||
(unless (boundp 'untrusted-content)
|
||||
(defvar untrusted-content nil))
|
||||
(defvar untrusted-content) ; defined in files.el since Emacs 29.3
|
||||
(defvar org--latex-preview-when-risky nil
|
||||
"If non-nil, enable LaTeX preview in Org buffers from unsafe source.
|
||||
|
||||
|
|
Loading…
Reference in New Issue