diff options
author | Stefan Monnier <[email protected]> | 2003-04-02 23:57:17 +0000 |
---|---|---|
committer | Stefan Monnier <[email protected]> | 2003-04-02 23:57:17 +0000 |
commit | 657059d02fe5521386be08f60ccca6f801099405 (patch) | |
tree | dfefac8b0d59242027ec8a6a53582d64560f4c46 /lisp/textmodes/refill.el | |
parent | dbe3ba524d31191eb214adc6c8273d14c7dc60a2 (diff) |
(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.
Diffstat (limited to 'lisp/textmodes/refill.el')
-rw-r--r-- | lisp/textmodes/refill.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/textmodes/refill.el b/lisp/textmodes/refill.el index 820936dc11..985604701c 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 |