auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] Changes to auctex/latex.el


From: Masayuki Ataka
Subject: [AUCTeX-diffs] Changes to auctex/latex.el
Date: Wed, 13 Apr 2005 11:42:12 -0400

Index: auctex/latex.el
diff -u auctex/latex.el:5.361 auctex/latex.el:5.362
--- auctex/latex.el:5.361       Wed Apr 13 11:10:27 2005
+++ auctex/latex.el     Wed Apr 13 15:42:11 2005
@@ -2568,7 +2568,7 @@
 ;;   replaced when unbreaking a line (in fill-delete-newlines).  It is added to
 ;;   newline characters by fill-newline when the default behavior of
 ;;   fill-delete-newlines is not what we want.
-(unless (featurep 'xemacs) 
+(unless (featurep 'xemacs)
   ;; COMPATIBILITY for Emacs < 22.1
   (add-to-list 'text-property-default-nonsticky '(fill-space . t)))
 
@@ -2628,9 +2628,9 @@
            ;; `LaTeX-fill-move-to-break-point' if the char before point matches
            ;; `LaTeX-nospace-between-char-regexp'.
            (backward-char 1)
-         (if (re-search-backward (concat " \\|\n\\|" 
LaTeX-nospace-between-char-regexp) linebeg t)
-             (forward-char 1)
-           (skip-chars-backward "^ \n")))
+         (when (re-search-backward
+                (concat " \\|\n\\|" LaTeX-nospace-between-char-regexp) linebeg 
'move)
+           (forward-char 1)))
       (skip-chars-backward "^ \n"))
     ;; Prevent infinite loops: If we cannot find a place to break
     ;; while searching backward, search forward again.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]