From: Richard M. Stallman Date: Sun, 22 Dec 2002 22:03:22 +0000 (+0000) Subject: (tex-print): Call shell-quote-argument on the file name. X-Git-Tag: ttn-vms-21-2-B4~11938 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=602503c5e29aa32f67faf88695db29af9cc6457b;p=emacs.git (tex-print): Call shell-quote-argument on the file name. --- diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index e5635777985..b1fd6568c31 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -1878,7 +1878,9 @@ is provided, use the alternative command, `tex-alt-dvi-print-command'." (tex-start-shell)) (tex-send-command (if alt tex-alt-dvi-print-command tex-dvi-print-command) - print-file-name-dvi t)))) + (shell-quote-argument + print-file-name-dvi) + t)))) (defun tex-alt-print () "Print the .dvi file made by \\[tex-region], \\[tex-buffer] or \\[tex-file].