over current whitespace before looking for a preceding space.
+2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
+
+ * fill.el (fill-region-as-paragraph): Don't forget to skip
+ over current whitespace before looking for a preceding space.
+
2001-11-01 Richard M. Stallman <rms@gnu.org>
* files.el (find-file-noselect): Offer to change buffer-read-only
;; further fills will assume it ends a sentence.
;; If we now know it does not end a sentence,
;; avoid putting it at the end of the line.
- (while (and (> (point) linebeg) (fill-nobreak-p))
+ (while (and (> (point) linebeg)
+ (fill-nobreak-p)
+ (skip-chars-backward " \t"))
(if (re-search-backward " \\|\\c|.\\|.\\c|" linebeg 0)
(forward-char 1)))
;; If the left margin and fill prefix by themselves