From: Stefan Monnier Date: Wed, 2 Apr 2003 23:57:17 +0000 (+0000) Subject: (refill-fill-paragraph-at): Don't preserve the trailing space since X-Git-Tag: ttn-vms-21-2-B4~10664 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=657059d02fe5521386be08f60ccca6f801099405;p=emacs.git (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 --git a/lisp/textmodes/refill.el b/lisp/textmodes/refill.el index 820936dc113..985604701cf 100644 --- a/lisp/textmodes/refill.el +++ b/lisp/textmodes/refill.el @@ -114,7 +114,6 @@ This is used to optimize refilling.") ;; 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 @@ refilling if they would cause auto-filling." (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