mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-11 16:08:13 +00:00
(texinfo-tex-buffer): Bind
tex-start-options-string to empty string. (texinfo-tex-region): Use texinfo-tex-trailer as documented.
This commit is contained in:
parent
2602d1eaac
commit
3654a3512a
@ -814,14 +814,17 @@ The value of `texinfo-tex-trailer' is appended to the temporary file after the r
|
||||
(interactive "r")
|
||||
(require 'tex-mode)
|
||||
(let ((tex-command texinfo-tex-command)
|
||||
(tex-trailer "@bye\n"))
|
||||
(tex-trailer texinfo-tex-trailer))
|
||||
(tex-region beg end)))
|
||||
|
||||
(defun texinfo-tex-buffer ()
|
||||
"Run TeX on visited file, once or twice, to make a correct `.dvi' file."
|
||||
(interactive)
|
||||
(require 'tex-mode)
|
||||
(let ((tex-command texinfo-texi2dvi-command))
|
||||
(let ((tex-command texinfo-texi2dvi-command)
|
||||
;; Disable tex-start-options-string. texi2dvi would not
|
||||
;; understand anything specified here.
|
||||
(tex-start-options-string ""))
|
||||
(tex-buffer)))
|
||||
|
||||
(defun texinfo-texindex ()
|
||||
|
Loading…
Reference in New Issue
Block a user