Eric S Fraga <e.fr...@ucl.ac.uk> wrote:

> Hi,
> 
> I notice that there has been a recent commit which affects export of org
> files.   I have just needed to export an org file to HTML and get the
> following error:
> 
> : if: Symbol's value as variable is void: backend
> 
> The backtrace is:
> 
> ,----
> | Debugger entered--Lisp error: (void-variable backend)
> |   (eq backend (quote html))
> |   (if (eq backend (quote html)) (progn (org-exp-bibtex-docites [...]
> |   (when (eq backend (quote html)) (org-exp-bibtex-docites [...]
> |   (save-window-excursion (setq oebp-cite-plist [...]
> |   org-export-bibtex-preprocess()
> |   run-hooks(org-export-preprocess-hook)
> |   org-export-preprocess-string( [...] )
> |   org-export-as-html(nil)
> |   call-interactively(org-export-as-html)
> |   org-export(nil)
> |   call-interactively(org-export nil nil)
> `----
> 
> For now, I am going to disable the invocation of the bibtex
> preprocessing as this appears to be the only place that =backend=
> appears.
> 

It's likely that the only thing needed is to rename backend to
org-export-current-backend in contrib/lisp/org-exp-bibtex.el.
See commit 99675ffead44e32f4959909a657b88831fe33703.

Nick

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to