# HG changeset patch # User Stefan Monnier # Date 1049327837 0 # Node ID fff8e0eb547cc3a7e6934c891356e718e3bb43e1 # Parent 97b1943f76b54a8196b2a87330ac6277bbb9bd9b (refill-fill-paragraph-at): Don't preserve the trailing space since fill.el doesn't remove it anymore. (refill-mode): Reset fill-paragraph-function even if it was nil. diff -r 97b1943f76b5 -r fff8e0eb547c lisp/textmodes/refill.el --- a/lisp/textmodes/refill.el Wed Apr 02 23:40:36 2003 +0000 +++ b/lisp/textmodes/refill.el Wed Apr 02 23:57:17 2003 +0000 @@ -114,7 +114,6 @@ ;; leading to excessive refilling and wrong choice of fill-prefix. ;; might be a bug in my paragraphs.el. (forward-paragraph) - (skip-syntax-backward "-") (let ((end (point)) (beg (progn (backward-paragraph) (point))) (obeg (overlay-start refill-ignorable-overlay)) @@ -230,7 +229,7 @@ (when refill-ignorable-overlay (delete-overlay refill-ignorable-overlay) (kill-local-variable 'refill-ignorable-overlay)) - (when refill-late-fill-paragraph-function + (when (local-variable-p 'refill-late-fill-paragraph-function) (setq fill-paragraph-function refill-late-fill-paragraph-function) (kill-local-variable 'refill-late-fill-paragraph-function)) (if refill-mode