summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docutils/HISTORY.txt5
-rw-r--r--docutils/tools/editors/emacs/rst.el6
2 files changed, 8 insertions, 3 deletions
diff --git a/docutils/HISTORY.txt b/docutils/HISTORY.txt
index dc627c65c..7a0445e44 100644
--- a/docutils/HISTORY.txt
+++ b/docutils/HISTORY.txt
@@ -25,7 +25,12 @@ Changes Since 0.7
- Fix [ 3043986 ] AttributeError using :local: with table of content.
+* tools/editors/emacs/rst.el:
+ - Fix [ 3001100 ] does not handle spaces in filenames
+ (thanks to Jakub Wilk)
+
+
Release 0.7 (2010-07-07)
========================
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.