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:
Nicolas Goaziou 2013-03-04 12:16:37 +01:00
parent d3b8194069
commit f3ef3eb549

View file

@ -385,7 +385,8 @@ Option settings will replace the %MANAGER-OPTIONS cookie."
"Install script in export options when appropriate. "Install script in export options when appropriate.
EXP-PLIST is a plist containing export options. BACKEND is the EXP-PLIST is a plist containing export options. BACKEND is the
export back-end currently used." 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) (and (eq org-html-use-infojs 'when-configured)
(or (not (plist-get exp-plist :infojs-opt)) (or (not (plist-get exp-plist :infojs-opt))
(string-match "\\<view:nil\\>" (string-match "\\<view:nil\\>"