# HG changeset patch # User Andreas Schwab # Date 913630670 0 # Node ID 921e0639577661646df37f9d31e907a898e7bd4f # Parent 30ddc83990a0bae390a443d3962ac4a0fcf1fe30 (texinfo-tex-buffer): Bind tex-start-options-string to empty string. (texinfo-tex-region): Use texinfo-tex-trailer as documented. diff -r 30ddc83990a0 -r 921e06395776 lisp/textmodes/texinfo.el --- a/lisp/textmodes/texinfo.el Mon Dec 14 09:03:04 1998 +0000 +++ b/lisp/textmodes/texinfo.el Mon Dec 14 10:17:50 1998 +0000 @@ -814,14 +814,17 @@ (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 ()