changeset 10636:6f9d0e697678

(fill-paragraph): Bind fill-paragraph-function to nil before calling it.
author Richard M. Stallman <rms@gnu.org>
date Thu, 02 Feb 1995 19:28:31 +0000
parents c807d6c947de
children 6e25c10f6fe8
files lisp/textmodes/fill.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/fill.el	Thu Feb 02 18:55:39 1995 +0000
+++ b/lisp/textmodes/fill.el	Thu Feb 02 19:28:31 1995 +0000
@@ -326,7 +326,9 @@
 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)