[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auto-fill-mode and docstring

From: Richard Stallman
Subject: Re: auto-fill-mode and docstring
Date: Tue, 14 Sep 2004 10:07:37 -0400

    However, do-auto-fill does not call fill-paragraph-function.

fill-paragraph-function functions are designed to be called from
fill-paragraph, and they do what fill-paragraph needs.  That's not the
same thing that do-auto-fill needs, so I am not surprised that calling
do-auto-fill there causes trouble.

You can think of calling fill-paragraph-function as calling
fill-paragraph.  What you need to do, to arrange to get good results
by calling fill-paragraph-function, is the same as what you need to do
to get good results by calling fill-paragraph.

So the right way to make do-auto-fill call fill-paragraph-function is
to make it use fill-paragraph.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]