emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [PATCH] Quote path argument in org-latex


From: Carsten Dominik
Subject: Re: [Orgmode] [PATCH] Quote path argument in org-latex
Date: Sun, 18 Jul 2010 07:51:00 +0200

Applied, thanks

- Carsten

On Jul 18, 2010, at 6:08 AM, Gregory J. Grubbs wrote:


Patch quotes paths to protect from interpretation by the shell

diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index b6a7769..156dbcf 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -836,7 +836,7 @@ when PUB-DIR is set, use this as the publishing directory."
    (with-current-buffer outbuf (erase-buffer))
    (message "Processing LaTeX file...")
    (if (and cmds (symbolp cmds))
-       (funcall cmds file)
+       (funcall cmds (shell-quote-argument file))
      (while cmds
       (setq cmd (pop cmds))
       (while (string-match "%b" cmd)


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

- Carsten






reply via email to

[Prev in Thread] Current Thread [Next in Thread]