Make tex-compile-commands heed tex-start-options

* lisp/textmodes/tex-mode.el (tex-compile-commands): Respect
`tex-start-options' (bug#49018).
This commit is contained in:
Utkarsh Singh 2021-06-22 15:07:59 +02:00 committed by Lars Ingebrigtsen
parent 2966e3acbe
commit 00501d74d3

View file

@ -2132,6 +2132,7 @@ If NOT-ALL is non-nil, save the `.dvi' file."
(defvar tex-compile-commands
`(,@(mapcar (lambda (prefix)
`((concat ,prefix tex-command
" " tex-start-options
" " (if (< 0 (length tex-start-commands))
(shell-quote-argument tex-start-commands))
" %f")