From 691d39b7b45cc47f609dabb72ee1d09bbc6a0377 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 21 Sep 1998 19:44:20 +0000 Subject: [PATCH] (tex-compilation-parse-errors): More general code to use the source buffer instead of the zap file. --- lisp/textmodes/tex-mode.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.2