Commit 6380e5a7 authored by Karl Berry's avatar Karl Berry

quote file name arg passed shell (from olive lin)

parent ef91372a
2005-03-29 Olive Lin <olive.lin@versateladsl.be>
* textmodes/tex-mode.el (tex-send-command): shell-quote-argument
on the file name we pass to the inferior shell.
2005-03-29 Stephan Stahl <stahl@eos.franken.de> (tiny change)
* progmodes/which-func.el (which-function): Be robust in the face of an
......
......@@ -1562,8 +1562,9 @@ Return the process in which TeX is running."
(concat
(if file
(if star (concat (substring cmd 0 star)
file (substring cmd (1+ star)))
(concat cmd " " file))
(shell-quote-argument file)
(substring cmd (1+ star)))
(concat cmd " " (shell-quote-argument file)))
cmd)
(if background "&" ""))))
;; Switch to buffer before checking for subproc output in it.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment