changeset 50410:fff8e0eb547c

(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.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 02 Apr 2003 23:57:17 +0000
parents 97b1943f76b5
children 62a57aa6353a
files lisp/textmodes/refill.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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