1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(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.
This commit is contained in:
Stefan Monnier 2003-04-02 23:57:17 +00:00
parent dbe3ba524d
commit 657059d02f

View File

@ -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