diff options
| author | Stefan Monnier | 2003-06-14 19:56:50 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-06-14 19:56:50 +0000 |
| commit | bf4ec22239825a02dd1d89380064aa3df91fded0 (patch) | |
| tree | 874601edbdf68bfffc05ce18fe6e7d604456a59b | |
| parent | f5a9b1805c1168e5a15e22e34a1d3899f30aec33 (diff) | |
| download | emacs-bf4ec22239825a02dd1d89380064aa3df91fded0.tar.gz emacs-bf4ec22239825a02dd1d89380064aa3df91fded0.zip | |
(tex-compile-commands): Handle tex-start-commands like tex-start-tex does.
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 583c106c173..a7b2d8e8f81 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -1577,10 +1577,12 @@ If NOT-ALL is non-nil, save the `.dvi' file." | |||
| 1577 | 1577 | ||
| 1578 | (defvar tex-compile-commands | 1578 | (defvar tex-compile-commands |
| 1579 | '(((concat "pdf" tex-command | 1579 | '(((concat "pdf" tex-command |
| 1580 | " " (shell-quote-argument tex-start-commands) " %f") | 1580 | " " (if (< 0 (length tex-start-commands)) |
| 1581 | (shell-quote-argument tex-start-commands)) " %f") | ||
| 1581 | t "%r.pdf") | 1582 | t "%r.pdf") |
| 1582 | ((concat tex-command | 1583 | ((concat tex-command |
| 1583 | " " (shell-quote-argument tex-start-commands) " %f") | 1584 | " " (if (< 0 (length tex-start-commands)) |
| 1585 | (shell-quote-argument tex-start-commands)) " %f") | ||
| 1584 | t "%r.dvi") | 1586 | t "%r.dvi") |
| 1585 | ("xdvi %r &" "%r.dvi") | 1587 | ("xdvi %r &" "%r.dvi") |
| 1586 | ("advi %r &" "%r.dvi") | 1588 | ("advi %r &" "%r.dvi") |