From 07368bbc09ab730a756c8d6dfd79ba0e0341124b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 23 Feb 2012 18:26:12 +0100 Subject: [PATCH] org-e-latex: Fix compile bugs * EXPERIMENTAL/org-e-latex.el (org-e-latex-compile): Fix compile bugs. --- EXPERIMENTAL/org-e-latex.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EXPERIMENTAL/org-e-latex.el b/EXPERIMENTAL/org-e-latex.el index 86bf71c31..bf9cebab2 100644 --- a/EXPERIMENTAL/org-e-latex.el +++ b/EXPERIMENTAL/org-e-latex.el @@ -2122,8 +2122,8 @@ Return PDF file name or an error if it couldn't be produced." (progn (cond ;; A function is provided: Apply it. - ((functionp org-latex-to-pdf-process) - (funcall org-latex-to-pdf-process (shell-quote-argument texfile))) + ((functionp org-e-latex-pdf-process) + (funcall org-e-latex-pdf-process (shell-quote-argument texfile))) ;; A list is provided: Replace %b, %f and %o with appropriate ;; values in each command before applying it. Output is ;; redirected to "*Org PDF LaTeX Output*" buffer. @@ -2138,7 +2138,7 @@ Return PDF file name or an error if it couldn't be produced." (replace-regexp-in-string "%f" (shell-quote-argument texfile) (replace-regexp-in-string - "%o" (shell-quote-argument out-dir) command))) + "%o" (shell-quote-argument out-dir) command t t) t t) t t) outbuf)) org-e-latex-pdf-process) ;; Collect standard errors from output buffer.