aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorKarl Heuer1998-09-21 19:44:20 +0000
committerKarl Heuer1998-09-21 19:44:20 +0000
commit691d39b7b45cc47f609dabb72ee1d09bbc6a0377 (patch)
treebe355df7a66d8b8844d750c529226f429d67b906 /lisp/textmodes
parentf799bf7ce3c9b6d00df04c2be111f8d37941f9d0 (diff)
downloademacs-691d39b7b45cc47f609dabb72ee1d09bbc6a0377.tar.gz
emacs-691d39b7b45cc47f609dabb72ee1d09bbc6a0377.zip
(tex-compilation-parse-errors):
More general code to use the source buffer instead of the zap file.
Diffstat (limited to 'lisp/textmodes')
-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