Index: auctex/tex-buf.el
diff -u auctex/tex-buf.el:1.229 auctex/tex-buf.el:1.230
--- auctex/tex-buf.el:1.229     Mon May 16 08:46:57 2005
+++ auctex/tex-buf.el   Sat May 28 16:18:19 2005
@@ -236,10 +236,17 @@
 Prefix by C-u to start from the beginning of the errors."
   (interactive "P")
   (if (null (TeX-active-buffer))
-      (error "No TeX output buffer")
+      (next-error reparse)
     (funcall (TeX-process-get-variable (TeX-active-master) 'TeX-parse-function)
             reparse)))
 
+(defun TeX-previous-error (arg)
+  "Find the previous error in the TeX output buffer."
+  (interactive "P")
+  (if (null (TeX-active-buffer))
+      (previous-error arg)
+    (error "Jumping to previous error not supported")))
+
 (defun TeX-toggle-debug-boxes ()
   "Toggle if the debugger should display \"bad boxes\" too."
   (interactive)


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

Reply via email to