changeset 49282:6a6be3d3a898

(fill-region-as-paragraph): Only erase `hard' property until end-of-paragraph.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 16 Jan 2003 19:46:00 +0000
parents f9e4999d3025
children 735a1f4fc9e0
files lisp/textmodes/fill.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/fill.el	Thu Jan 16 12:59:18 2003 +0000
+++ b/lisp/textmodes/fill.el	Thu Jan 16 19:46:00 2003 +0000
@@ -641,7 +641,7 @@
 		(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)))