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:
parent
4581e9282b
commit
e86fe0d789
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue