Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6380e5a7
Commit
6380e5a7
authored
Mar 29, 2005
by
Karl Berry
Browse files
quote file name arg passed shell (from olive lin)
parent
ef91372a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/textmodes/tex-mode.el
lisp/textmodes/tex-mode.el
+3
-2
No files found.
lisp/ChangeLog
View file @
6380e5a7
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
...
...
lisp/textmodes/tex-mode.el
View file @
6380e5a7
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment