From f9a73edc2438d7bace8e72fe28a38f526c387ca6 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 3 Dec 2013 20:21:09 +0100 Subject: [PATCH] ox-bibtex: Tiny refactoring * contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files): Tiny refactoring. --- contrib/lisp/ox-bibtex.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/lisp/ox-bibtex.el b/contrib/lisp/ox-bibtex.el index b8ddcf401..629695eda 100644 --- a/contrib/lisp/ox-bibtex.el +++ b/contrib/lisp/ox-bibtex.el @@ -154,8 +154,7 @@ to `org-bibtex-citation-p' predicate." (defun org-bibtex-process-bib-files (tree backend info) "Send each bibliography in parse tree to \"bibtex2html\" process. Return new parse tree." - (when (or (org-export-derived-backend-p backend 'html) - (org-export-derived-backend-p backend 'ascii)) + (when (org-export-derived-backend-p backend 'ascii 'html) ;; Initialize dynamically scoped variables. The first one ;; contain an alist between keyword objects and their HTML ;; translation. The second one will contain an alist between