Mercurial > emacs
changeset 23296:4fe2d7d673cb
(tex-compilation-parse-errors):
More general code to use the source buffer instead of the zap file.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 21 Sep 1998 19:44:20 +0000 |
parents | 722f0b9703c7 |
children | e23cdc314c10 |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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