From 6f1b5185c22aefd490147c853b3deadadab7cba4 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Tue, 22 Apr 2014 10:41:56 +0200 Subject: [PATCH] ox-html.el (org-html-infojs-install-script): Don't install infojs scripts when #+INFOJS_OPT: is empty * ox-html.el (org-html-infojs-install-script): Don't install infojs scripts when #+INFOJS_OPT: is empty. Thanks to Diez B. Roggisch for reporting this. --- lisp/ox-html.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index c82c642ef..88e572084 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -455,6 +455,7 @@ export back-end currently used." (not org-html-use-infojs) (and (eq org-html-use-infojs 'when-configured) (or (not (plist-get exp-plist :infojs-opt)) + (string= "" (plist-get exp-plist :infojs-opt)) (string-match "\\" (plist-get exp-plist :infojs-opt))))) (let* ((template org-html-infojs-template) -- 2.11.4.GIT