Mercurial > emacs
changeset 51562:65f7a99a6241
(tex-compile-commands): Handle tex-start-commands like tex-start-tex does.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 14 Jun 2003 19:56:50 +0000 |
parents | bed114065e35 |
children | 5eb0d359c572 |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Sat Jun 14 19:04:20 2003 +0000 +++ b/lisp/textmodes/tex-mode.el Sat Jun 14 19:56:50 2003 +0000 @@ -1577,10 +1577,12 @@ (defvar tex-compile-commands '(((concat "pdf" tex-command - " " (shell-quote-argument tex-start-commands) " %f") + " " (if (< 0 (length tex-start-commands)) + (shell-quote-argument tex-start-commands)) " %f") t "%r.pdf") ((concat tex-command - " " (shell-quote-argument tex-start-commands) " %f") + " " (if (< 0 (length tex-start-commands)) + (shell-quote-argument tex-start-commands)) " %f") t "%r.dvi") ("xdvi %r &" "%r.dvi") ("advi %r &" "%r.dvi")