From: Karl Heuer Date: Mon, 21 Sep 1998 19:44:20 +0000 (+0000) Subject: (tex-compilation-parse-errors): X-Git-Tag: emacs-20.4~1653 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=691d39b7b45cc47f609dabb72ee1d09bbc6a0377;p=emacs.git (tex-compilation-parse-errors): More general code to use the source buffer instead of the zap file. --- diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 810af7787eb..988cc75e5da 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -1147,8 +1147,7 @@ line numbers for the errors." (not (string-equal last-filename filename)))) (error-location (save-excursion - (if (equal filename - (expand-file-name (concat tex-zap-file ".tex"))) + (if (equal filename tex-last-temp-file) (set-buffer tex-last-buffer-texed) (set-buffer (find-file-noselect filename))) (if new-file