Mercurial > emacs
diff lisp/textmodes/rst.el @ 112098:40af77a50adc
Merge changes from emacs-23 branch
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 02 Jan 2011 15:28:40 -0500 |
parents | 586a15d21905 bb8e2da18b9d |
children | 5f273d1516d7 |
line wrap: on
line diff
--- a/lisp/textmodes/rst.el Sun Jan 02 11:23:02 2011 +0000 +++ b/lisp/textmodes/rst.el Sun Jan 02 15:28:40 2011 -0500 @@ -3340,7 +3340,7 @@ (defun rst-compile-pdf-preview () "Convert the document to a PDF file and launch a preview program." (interactive) - (let* ((tmp-filename "/tmp/out.pdf") + (let* ((tmp-filename (make-temp-file "rst-out" nil ".pdf")) (command (format "rst2pdf.py %s %s && %s %s" buffer-file-name tmp-filename rst-pdf-program tmp-filename))) @@ -3355,7 +3355,7 @@ (defun rst-compile-slides-preview () "Convert the document to an S5 slide presentation and launch a preview program." (interactive) - (let* ((tmp-filename "/tmp/slides.html") + (let* ((tmp-filename (make-temp-file "rst-slides" nil ".html")) (command (format "rst2s5.py %s %s && %s %s" buffer-file-name tmp-filename rst-slides-program tmp-filename)))