1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-20 15:10:37 -08:00

(fill-paragraph): Bind fill-paragraph-function to nil before calling it.

This commit is contained in:
Richard M. Stallman 1995-02-02 19:28:31 +00:00
parent 4581e9282b
commit e86fe0d789

View file

@ -326,7 +326,9 @@ If `fill-paragraph-function' is non-nil, we call it (passing our
argument to it), and if it returns non-nil, we simply return its value."
(interactive "P")
(or (and fill-paragraph-function
(funcall fill-paragraph-function arg))
(let ((function fill-paragraph-function)
fill-paragraph-function)
(funcall function arg)))
(let ((before (point)))
(save-excursion
(forward-paragraph)