summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-12-03 20:21:09 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2013-12-03 20:21:09 +0100
commitf9a73edc2438d7bace8e72fe28a38f526c387ca6 (patch)
tree9d1e57b115e8a7a94a6b1cfe4abaf25c7e0c02bc
parent64a64856c0c8b8fac82161356a3ee398793972ce (diff)
downloadorg-mode-f9a73edc2438d7bace8e72fe28a38f526c387ca6.tar.gz
ox-bibtex: Tiny refactoring
* contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files): Tiny refactoring.
-rw-r--r--contrib/lisp/ox-bibtex.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/lisp/ox-bibtex.el b/contrib/lisp/ox-bibtex.el
index b8ddcf4..629695e 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