From: Andreas Schwab Date: Tue, 4 Jan 2011 10:09:13 +0000 (+0100) Subject: * lisp/textmodes/rst.el (rst-compile-pdf-preview) X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~1322^2~278^2~23 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c3e4b003c22fc5c343d0d1736f43405aeec650e6;p=emacs.git * lisp/textmodes/rst.el (rst-compile-pdf-preview) (rst-compile-slides-preview): Remove extra line. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 66c5d1839ed..b41711e26db 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-01-04 Andreas Schwab + + * textmodes/rst.el (rst-compile-pdf-preview) + (rst-compile-slides-preview): Remove extra line. + 2011-01-04 Glenn Morris * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom. diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index bbeab60bfd6..34ac6000d0c 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el @@ -3364,7 +3364,6 @@ or of the entire buffer, if the region is not selected." (let* ((tmp-filename (make-temp-file "rst-out" nil ".pdf")) (command (format "%s %s %s && %s %s" (cadr (assq 'pdf rst-compile-toolsets)) - (command (format "rst2pdf.py %s %s && %s %s" buffer-file-name tmp-filename rst-pdf-program tmp-filename))) (start-process-shell-command "rst-pdf-preview" nil command) @@ -3381,8 +3380,6 @@ or of the entire buffer, if the region is not selected." (let* ((tmp-filename (make-temp-file "rst-slides" nil ".html")) (command (format "%s %s %s && %s %s" (cadr (assq 's5 rst-compile-toolsets)) - (command (format "rst2s5.py %s %s && %s %s" - buffer-file-name tmp-filename rst-slides-program tmp-filename))) (start-process-shell-command "rst-slides-preview" nil command)