From: Stefan Monnier Date: Thu, 16 Jan 2003 19:46:00 +0000 (+0000) Subject: (fill-region-as-paragraph): Only erase `hard' property until end-of-paragraph. X-Git-Tag: ttn-vms-21-2-B4~11619 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f064f7c929f9790f7f7180f824a8810e3f9c4bbc;p=emacs.git (fill-region-as-paragraph): Only erase `hard' property until end-of-paragraph. --- diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index f5712cc0bb1..111cc10ab35 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -641,7 +641,7 @@ space does not end a sentence, so don't break a line there." (forward-line 1))) (if use-hard-newlines - (remove-text-properties from (point-max) '(hard nil))) + (remove-list-of-text-properties from to '(hard))) ;; Make sure first line is indented (at least) to left margin... (if (or (memq justify '(right center)) (< (current-indentation) (current-left-margin)))