# HG changeset patch # User Richard M. Stallman # Date 1040594602 0 # Node ID 0af848ed2cae6e4ca43546f49e322c9e69078882 # Parent 2cbcb30abe6fcef1014a374c465335af9060a120 (tex-print): Call shell-quote-argument on the file name. diff -r 2cbcb30abe6f -r 0af848ed2cae lisp/textmodes/tex-mode.el --- 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].