Mercurial > emacs
changeset 16356:0e1d0be9d6c3
(tex-main-file): Add missing initial value.
(tex-file): Set tex-print-file to source-file always.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 27 Sep 1996 20:42:12 +0000 |
parents | 1d85b2698564 |
children | 738aba1684cf |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Fri Sep 27 20:39:38 1996 +0000 +++ b/lisp/textmodes/tex-mode.el Fri Sep 27 20:42:12 1996 +0000 @@ -42,7 +42,7 @@ `\\input' commands with relative directories.") ;;;###autoload -(defvar tex-main-file +(defvar tex-main-file nil "*The main TeX source file which includes this buffer's file. The command `tex-buffer' runs TeX on `tex-main-file'if that is non-nil.") @@ -1066,7 +1066,7 @@ (tex-send-command tex-command source-file)) (tex-display-shell) (setq tex-last-buffer-texed (current-buffer)) - (setq tex-print-file (buffer-file-name))) + (setq tex-print-file source-file)) (defun tex-generate-zap-file-name () "Generate a unique name suitable for use as a file name."