]> git.eshelyaron.com Git - emacs.git/commitdiff
(texinfo-tex-buffer): Bind
authorAndreas Schwab <schwab@suse.de>
Mon, 14 Dec 1998 10:17:50 +0000 (10:17 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 14 Dec 1998 10:17:50 +0000 (10:17 +0000)
tex-start-options-string to empty string.
(texinfo-tex-region): Use texinfo-tex-trailer as documented.

lisp/textmodes/texinfo.el

index cfd54d5cd09e64b1495530218fc1d1cf534dfaa3..c5064805d7bfc53408e689ae227856d1d29d7200 100644 (file)
@@ -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 ()