CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    08/02/07 21:20:47

Index: tex-buf.el
===================================================================
RCS file: /cvsroot/auctex/auctex/tex-buf.el,v
retrieving revision 1.268
retrieving revision 1.269
diff -u -b -r1.268 -r1.269
--- tex-buf.el  3 Feb 2008 14:53:33 -0000       1.268
+++ tex-buf.el  7 Feb 2008 21:20:46 -0000       1.269
@@ -1385,11 +1385,11 @@
 already in an Emacs buffer) and the cursor is placed at the error."
   (let ((old-buffer (current-buffer))
        (default-major-mode major-mode))
-    (TeX-pop-to-buffer (TeX-active-buffer) nil t)
+    (with-current-buffer (TeX-active-buffer)
     (if reparse
        (TeX-parse-reset))
     (goto-char TeX-error-point)
-    (TeX-parse-error old-buffer)))
+      (TeX-parse-error old-buffer))))
 
 ;;; - Parsing (La)TeX
 
@@ -1523,7 +1523,7 @@
          (command-buffer TeX-command-buffer)
          error-file-buffer)
       (run-hooks 'TeX-translate-location-hook)
-      (setq error-file-buffer (find-file-other-window file))
+      (setq error-file-buffer (find-file file))
       ;; Set the value of `TeX-command-buffer' in the next file with an
       ;; error to be displayed to the value it has in the current buffer.
       (with-current-buffer error-file-buffer


_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to