Mercurial > emacs
comparison lisp/textmodes/fill.el @ 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 | 8a3293abe1ba |
children | 92dd602768d2 |
comparison
equal
deleted
inserted
replaced
5290:fee2ab7de353 | 5291:872d39813f70 |
---|---|
177 (move-to-column prefixcol) | 177 (move-to-column prefixcol) |
178 (while (and (not (eobp)) | 178 (while (and (not (eobp)) |
179 (or first | 179 (or first |
180 (and (not (bobp)) | 180 (and (not (bobp)) |
181 (save-excursion (forward-char -1) | 181 (save-excursion (forward-char -1) |
182 (looking-at "\\. "))))) | 182 (looking-at "\\. ") |
183 (not (looking-at "\\. ")))))) | |
183 (skip-chars-forward " ") | 184 (skip-chars-forward " ") |
184 (skip-chars-forward "^ \n") | 185 (skip-chars-forward "^ \n") |
185 (setq first nil))) | 186 (setq first nil))) |
186 ;; Normally, move back over the single space between the words. | 187 ;; Normally, move back over the single space between the words. |
187 (forward-char -1)) | 188 (forward-char -1)) |