# HG changeset patch # User Karl Heuer # Date 906407060 0 # Node ID 4fe2d7d673cbb37f64eba27c0ab9772cadb03bae # Parent 722f0b9703c7d1647fc9746ea07c960d399b7914 (tex-compilation-parse-errors): More general code to use the source buffer instead of the zap file. diff -r 722f0b9703c7 -r 4fe2d7d673cb lisp/textmodes/tex-mode.el --- a/lisp/textmodes/tex-mode.el Mon Sep 21 19:42:29 1998 +0000 +++ b/lisp/textmodes/tex-mode.el Mon Sep 21 19:44:20 1998 +0000 @@ -1147,8 +1147,7 @@ (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