Mercurial > emacs
changeset 23871:921e06395776
(texinfo-tex-buffer): Bind
tex-start-options-string to empty string.
(texinfo-tex-region): Use texinfo-tex-trailer as documented.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Mon, 14 Dec 1998 10:17:50 +0000 |
parents | 30ddc83990a0 |
children | 546acc9b5282 |
files | lisp/textmodes/texinfo.el |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 ()