emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/textmodes/fill.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/fill.el
Date: Tue, 20 Jul 2004 16:54:25 -0400

Index: emacs/lisp/textmodes/fill.el
diff -c emacs/lisp/textmodes/fill.el:1.172 emacs/lisp/textmodes/fill.el:1.173
*** emacs/lisp/textmodes/fill.el:1.172  Sun Apr 18 22:08:54 2004
--- emacs/lisp/textmodes/fill.el        Tue Jul 20 20:51:13 2004
***************
*** 353,359 ****
       ;; Don't split a line if the rest would look like a new paragraph.
       (unless use-hard-newlines
         (save-excursion
!        (skip-chars-forward " \t") (looking-at paragraph-start)))
       (run-hook-with-args-until-success 'fill-nobreak-predicate)))))
  
  ;; Put `fill-find-break-point-function' property to charsets which
--- 353,364 ----
       ;; Don't split a line if the rest would look like a new paragraph.
       (unless use-hard-newlines
         (save-excursion
!        (skip-chars-forward " \t")
!        ;; If this break point is at the end of the line,
!        ;; which can occur for auto-fill, don't consider the newline
!        ;; which follows as a reason to return t.
!        (and (not (eolp))
!             (looking-at paragraph-start))))
       (run-hook-with-args-until-success 'fill-nobreak-predicate)))))
  
  ;; Put `fill-find-break-point-function' property to charsets which




reply via email to

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