ox-bibtex: Tiny refactoring

* contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files): Tiny
  refactoring.
This commit is contained in:
Nicolas Goaziou 2013-12-03 20:21:09 +01:00
parent 64a64856c0
commit f9a73edc24
1 changed files with 1 additions and 2 deletions

View File

@ -154,8 +154,7 @@ to `org-bibtex-citation-p' predicate."
(defun org-bibtex-process-bib-files (tree backend info) (defun org-bibtex-process-bib-files (tree backend info)
"Send each bibliography in parse tree to \"bibtex2html\" process. "Send each bibliography in parse tree to \"bibtex2html\" process.
Return new parse tree." Return new parse tree."
(when (or (org-export-derived-backend-p backend 'html) (when (org-export-derived-backend-p backend 'ascii 'html)
(org-export-derived-backend-p backend 'ascii))
;; Initialize dynamically scoped variables. The first one ;; Initialize dynamically scoped variables. The first one
;; contain an alist between keyword objects and their HTML ;; contain an alist between keyword objects and their HTML
;; translation. The second one will contain an alist between ;; translation. The second one will contain an alist between