From f3ef3eb549d284a0c2e1f9e64245a6e2a906bd03 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 4 Mar 2013 12:16:37 +0100 Subject: [PATCH] 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. --- lisp/ox-html.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 348d0945b..e69e60fff 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -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 "\\"