summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-11-15 15:58:17 +0200
committerEli Zaretskii <eliz@gnu.org>2023-11-15 15:58:17 +0200
commit1a1f47e4a1fb70e6810f9eabd0f1826b71a2bcb0 (patch)
tree02c10b4cb89eaa762cd3988b343832bf5aafb8b9 /lisp/textmodes
parentf554872997a2f8e4e8ad4342a4b0955bfc7ad3f4 (diff)
downloademacs-1a1f47e4a1fb70e6810f9eabd0f1826b71a2bcb0.tar.gz
Fix 'tex-compile-commands'
* lisp/textmodes/tex-mode.el (tex-compile-commands): Respect 'tex-start-options' better. (Bug#67030)
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/tex-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index a26e7b9c83a..d1644b5613e 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -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")