summaryrefslogtreecommitdiff
path: root/lisp/textmodes/fill.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-12-23 03:47:45 +0000
committerRichard M. Stallman <rms@gnu.org>1993-12-23 03:47:45 +0000
commite807641be6616b37bd428b151a2153a33eea3589 (patch)
tree4c1191953507bfa26c433d04c9f9a10276159de5 /lisp/textmodes/fill.el
parentc49dba7e52241afca6fd0782cce8c2f56be11698 (diff)
downloademacs-e807641be6616b37bd428b151a2153a33eea3589.tar.gz
(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.
Diffstat (limited to 'lisp/textmodes/fill.el')
-rw-r--r--lisp/textmodes/fill.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index bbe44f3d6fe..3ef81b87e1c 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -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)))