Mercurial > emacs
comparison lisp/textmodes/tex-mode.el @ 61092:e5a07aa840d9
quote file name arg passed shell (from olive lin)
author | Karl Berry <karl@gnu.org> |
---|---|
date | Tue, 29 Mar 2005 14:56:14 +0000 |
parents | 3b3b017d62ab |
children | 81b738b4c729 |
comparison
equal
deleted
inserted
replaced
61091:f10b3e1c282f | 61092:e5a07aa840d9 |
---|---|
1560 (star (string-match "\\*" cmd)) | 1560 (star (string-match "\\*" cmd)) |
1561 (string | 1561 (string |
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. |
1570 (set-buffer buf) | 1571 (set-buffer buf) |
1571 ;; If text is unchanged since previous tex-send-command, | 1572 ;; If text is unchanged since previous tex-send-command, |