diff options
| -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") |