org-e-latex: Fix publishing problems when compiling a TeX file
commit9b11e63e7a465a1fcd71c442a299480e568751a8
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 11 Oct 2012 21:46:07 +0000 (11 23:46 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 11 Oct 2012 21:46:07 +0000 (11 23:46 +0200)
tree4e07815cc29af410cc4cebc1eb854761621bf20a
parent0a99cf72492ad28b673627227b8f7fda64751122
org-e-latex: Fix publishing problems when compiling a TeX file

* contrib/lisp/org-e-latex.el (org-e-latex-compile): Fix compilation
  when default-directory from current buffer doesn't match directory
  from file being compiled. Small refactoring, too.

Thanks to Robert Klein for reporting the problem and suggesting a fix.
contrib/lisp/org-e-latex.el