]> git.eshelyaron.com Git - emacs.git/commitdiff
(tex-compilation-parse-errors):
authorKarl Heuer <kwzh@gnu.org>
Mon, 21 Sep 1998 19:44:20 +0000 (19:44 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 21 Sep 1998 19:44:20 +0000 (19:44 +0000)
More general code to use the source buffer instead of the zap file.

lisp/textmodes/tex-mode.el

index 810af7787eb76406e74212d0a381fa31a164777b..988cc75e5da8d98d5dc44656981333fe90852bbe 100644 (file)
@@ -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