CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    06/07/12 20:16:13

Index: latex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/latex.el,v
retrieving revision 5.414
retrieving revision 5.415
diff -u -b -r5.414 -r5.415
--- latex.el    12 Jul 2006 19:45:55 -0000      5.414
+++ latex.el    12 Jul 2006 20:16:13 -0000      5.415
@@ -2813,11 +2813,10 @@
       (skip-chars-backward "^ \n"))
     ;; Prevent infinite loops: If we cannot find a place to break
     ;; while searching backward, search forward again.
-    (cond ((bolp)
+    (when (save-excursion
+           (skip-chars-backward " \t%")
+           (bolp))
           (skip-chars-forward "^ \n" (point-max)))
-         ((TeX-looking-at-backward "^[ \t%]+" (1- (line-beginning-position)))
-          (goto-char (match-end 0))
-          (skip-chars-forward "^ \n" (point-max))))
     ;; This code was copied from the function `fill-move-to-break-point'
     ;; in `fill.el' (CVS Emacs, 2005-02-22) and adapted accordingly.
     (when (and (< linebeg (point))


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

Reply via email to