Fix 'tex-compile-commands'

* lisp/textmodes/tex-mode.el (tex-compile-commands): Respect
'tex-start-options' better.  (Bug#67030)
This commit is contained in:
Eli Zaretskii 2023-11-15 15:58:17 +02:00
parent f554872997
commit 1a1f47e4a1

View file

@ -2133,6 +2133,7 @@ If NOT-ALL is non-nil, save the `.dvi' file."
t "%r.pdf"))
'("pdf" "xe" "lua"))
((concat tex-command
" " tex-start-options
" " (if (< 0 (length tex-start-commands))
(shell-quote-argument tex-start-commands))
" %f")