changeset 48931:0af848ed2cae

(tex-print): Call shell-quote-argument on the file name.
author Richard M. Stallman <rms@gnu.org>
date Sun, 22 Dec 2002 22:03:22 +0000
parents 2cbcb30abe6f
children faafd2631b67
files lisp/textmodes/tex-mode.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el	Sun Dec 22 22:02:25 2002 +0000
+++ b/lisp/textmodes/tex-mode.el	Sun Dec 22 22:03:22 2002 +0000
@@ -1878,7 +1878,9 @@
         (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].