forked from mirrors/org-mode
ox-html: Can't activate jsinfo script during a body-only export
* lisp/ox-html.el (org-html-infojs-install-script): Can't activate jsinfo script during a body-only export.
This commit is contained in:
parent
d3b8194069
commit
f3ef3eb549
|
@ -385,7 +385,8 @@ Option settings will replace the %MANAGER-OPTIONS cookie."
|
|||
"Install script in export options when appropriate.
|
||||
EXP-PLIST is a plist containing export options. BACKEND is the
|
||||
export back-end currently used."
|
||||
(unless (or (not org-html-use-infojs)
|
||||
(unless (or (memq 'body-only (plist-get exp-plist :export-options))
|
||||
(not org-html-use-infojs)
|
||||
(and (eq org-html-use-infojs 'when-configured)
|
||||
(or (not (plist-get exp-plist :infojs-opt))
|
||||
(string-match "\\<view:nil\\>"
|
||||
|
|
Loading…
Reference in a new issue