]> git.eshelyaron.com Git - emacs.git/commitdiff
(tex-print): Call shell-quote-argument on the file name.
authorRichard M. Stallman <rms@gnu.org>
Sun, 22 Dec 2002 22:03:22 +0000 (22:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 22 Dec 2002 22:03:22 +0000 (22:03 +0000)
lisp/textmodes/tex-mode.el

index e5635777985a43d50d1ad67eb6b2e06af250197d..b1fd6568c31dc91e737d64aaac74012a9b89889c 100644 (file)
@@ -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].