changeset 5291:872d39813f70

(fill-region-as-paragraph): Do allow breaking line at a period followed by two spaces, in the case where we are insisting on having at least one complete word.
author Richard M. Stallman <rms@gnu.org>
date Thu, 23 Dec 1993 03:47:45 +0000
parents fee2ab7de353
children 4b1f2e4dcf34
files lisp/textmodes/fill.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/fill.el	Thu Dec 23 03:47:06 1993 +0000
+++ b/lisp/textmodes/fill.el	Thu Dec 23 03:47:45 1993 +0000
@@ -179,7 +179,8 @@
 			      (or first
 				  (and (not (bobp))
 				       (save-excursion (forward-char -1)
-						       (looking-at "\\. ")))))
+						       (looking-at "\\. ")
+						       (not (looking-at "\\.  "))))))
 		    (skip-chars-forward " ")
 		    (skip-chars-forward "^ \n")
 		    (setq first nil)))