aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Berry2005-03-29 14:56:14 +0000
committerKarl Berry2005-03-29 14:56:14 +0000
commit6380e5a7098ee06cbc2b94a281724e851620275a (patch)
treedba8e6772f17c0f1118b2b6eab25c5ccc133a899
parentef91372af5abbff26bbdbea17ec28202f7dd2f65 (diff)
downloademacs-6380e5a7098ee06cbc2b94a281724e851620275a.tar.gz
emacs-6380e5a7098ee06cbc2b94a281724e851620275a.zip
quote file name arg passed shell (from olive lin)
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/tex-mode.el5
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 648d58d9ff7..a656b62248c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12005-03-29 Olive Lin <olive.lin@versateladsl.be>
2
3 * textmodes/tex-mode.el (tex-send-command): shell-quote-argument
4 on the file name we pass to the inferior shell.
5
12005-03-29 Stephan Stahl <stahl@eos.franken.de> (tiny change) 62005-03-29 Stephan Stahl <stahl@eos.franken.de> (tiny change)
2 7
3 * progmodes/which-func.el (which-function): Be robust in the face of an 8 * progmodes/which-func.el (which-function): Be robust in the face of an
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 7e5d9fee78b..285f25dec88 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -1562,8 +1562,9 @@ Return the process in which TeX is running."
1562 (concat 1562 (concat
1563 (if file 1563 (if file
1564 (if star (concat (substring cmd 0 star) 1564 (if star (concat (substring cmd 0 star)
1565 file (substring cmd (1+ star))) 1565 (shell-quote-argument file)
1566 (concat cmd " " file)) 1566 (substring cmd (1+ star)))
1567 (concat cmd " " (shell-quote-argument file)))
1567 cmd) 1568 cmd)
1568 (if background "&" "")))) 1569 (if background "&" ""))))
1569 ;; Switch to buffer before checking for subproc output in it. 1570 ;; Switch to buffer before checking for subproc output in it.