aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/textmodes/tex-mode.el3
1 files changed, 1 insertions, 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."
1147 (not (string-equal last-filename filename)))) 1147 (not (string-equal last-filename filename))))
1148 (error-location 1148 (error-location
1149 (save-excursion 1149 (save-excursion
1150 (if (equal filename 1150 (if (equal filename tex-last-temp-file)
1151 (expand-file-name (concat tex-zap-file ".tex")))
1152 (set-buffer tex-last-buffer-texed) 1151 (set-buffer tex-last-buffer-texed)
1153 (set-buffer (find-file-noselect filename))) 1152 (set-buffer (find-file-noselect filename)))
1154 (if new-file 1153 (if new-file