]> git.eshelyaron.com Git - emacs.git/commitdiff
Make tex-compile-commands heed tex-start-options
authorUtkarsh Singh <utkarsh190601@gmail.com>
Tue, 22 Jun 2021 13:07:59 +0000 (15:07 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 22 Jun 2021 13:08:07 +0000 (15:08 +0200)
* lisp/textmodes/tex-mode.el (tex-compile-commands): Respect
`tex-start-options' (bug#49018).

lisp/textmodes/tex-mode.el

index a805c8952fd23561dbd70bd521d9416fdd3eff1c..8b8108cb97b8b90dc00450b171911ba29d29d262 100644 (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")