]> git.eshelyaron.com Git - emacs.git/commitdiff
(fill-region-as-paragraph): Do allow breaking line at a period
authorRichard M. Stallman <rms@gnu.org>
Thu, 23 Dec 1993 03:47:45 +0000 (03:47 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 23 Dec 1993 03:47:45 +0000 (03:47 +0000)
followed by two spaces, in the case where we are insisting on having at
least one complete word.

lisp/textmodes/fill.el

index bbe44f3d6fe40335a64af958fa74d95a71bfef89..3ef81b87e1c082605c8a237266f5481b131eef84 100644 (file)
@@ -179,7 +179,8 @@ From program, pass args FROM, TO and JUSTIFY-FLAG."
                              (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)))