[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/latex.el,v
From: |
Ralf Angeli |
Subject: |
[AUCTeX-diffs] Changes to auctex/latex.el,v |
Date: |
Wed, 12 Jul 2006 20:16:13 +0000 |
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] Changes to auctex/latex.el,v, Ralf Angeli, 2006/07/12
- [AUCTeX-diffs] Changes to auctex/latex.el,v,
Ralf Angeli <=
- [AUCTeX-diffs] Changes to auctex/latex.el,v, Ralf Angeli, 2006/07/15
- [AUCTeX-diffs] Changes to auctex/latex.el,v, Ralf Angeli, 2006/07/15
- [AUCTeX-diffs] Changes to auctex/latex.el,v, David Kastrup, 2006/07/25