[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH] Quote path argument in org-latex
From: |
Gregory J. Grubbs |
Subject: |
[Orgmode] [PATCH] Quote path argument in org-latex |
Date: |
Sat, 17 Jul 2010 22:08:08 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
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)
- [Orgmode] [PATCH] Quote path argument in org-latex,
Gregory J. Grubbs <=