From f064f7c929f9790f7f7180f824a8810e3f9c4bbc Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 16 Jan 2003 19:46:00 +0000 Subject: [PATCH] (fill-region-as-paragraph): Only erase `hard' property until end-of-paragraph. --- lisp/textmodes/fill.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.39.2