diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-02-02 19:28:31 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-02-02 19:28:31 +0000 |
commit | e86fe0d7893ddc1998668d1dfc8cd8440ed365a5 (patch) | |
tree | f2041a6ff64190d7136e7cd920762e24f8b42843 /lisp/textmodes | |
parent | 4581e9282b7fc20505c6267157b321e5f2a5cc94 (diff) | |
download | emacs-e86fe0d7893ddc1998668d1dfc8cd8440ed365a5.tar.gz |
(fill-paragraph): Bind fill-paragraph-function to nil before calling it.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/fill.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index 79714d91c1c..dc70406a326 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -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) |