summaryrefslogtreecommitdiff
path: root/docutils/tools
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2010-08-13 12:46:37 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2010-08-13 12:46:37 +0000
commitd8bb589d891bd2bd7eafd475c95cbf3435b5ce4b (patch)
tree59ae4ebf2daa62b7b6ee0cd3777a1539df241efd /docutils/tools
parent80e04fd11a50cd560af9070b157855859822860c (diff)
downloaddocutils-d8bb589d891bd2bd7eafd475c95cbf3435b5ce4b.tar.gz
Fix [ 3001100 ] does not handle spaces in filenames (thanks to Jakub Wilk)
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6389 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/tools')
-rw-r--r--docutils/tools/editors/emacs/rst.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/docutils/tools/editors/emacs/rst.el b/docutils/tools/editors/emacs/rst.el
index cfb005284..d8d42ebe6 100644
--- a/docutils/tools/editors/emacs/rst.el
+++ b/docutils/tools/editors/emacs/rst.el
@@ -3280,10 +3280,10 @@ argument, select the alternative toolset."
(list command
(or options "")
(if conffile
- (concat "--config=\"" conffile "\"")
+ (concat "--config=" (shell-quote-argument conffile))
"")
- bufname
- (concat outname extension))
+ (shell-quote-argument bufname)
+ (shell-quote-argument (concat outname extension)))
" "))
;; Invoke the compile command.