Mercurial > emacs
changeset 85384:e1e09392b118
(Filling): Update arguments of fill-paragraph.
fill-paragraph operates on the active region in Transient Mark mode.
Remove fill-paragraph-or-region.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Thu, 18 Oct 2007 00:14:21 +0000 |
parents | 7f712f200d35 |
children | 5f46aeba09dc |
files | doc/lispref/text.texi |
diffstat | 1 files changed, 4 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/text.texi Thu Oct 18 00:10:41 2007 +0000 +++ b/doc/lispref/text.texi Thu Oct 18 00:14:21 2007 +0000 @@ -1432,11 +1432,14 @@ When you call the filling functions interactively, using a prefix argument implies the value @code{full} for @var{justify}. -@deffn Command fill-paragraph justify +@deffn Command fill-paragraph &optional justify region This command fills the paragraph at or after point. If @var{justify} is non-@code{nil}, each line is justified as well. It uses the ordinary paragraph motion commands to find paragraph boundaries. @xref{Paragraphs,,, emacs, The GNU Emacs Manual}. +Interactively, when @var{region} is non-@code{nil} in Transient Mark +mode and the mark is active, this command calls @code{fill-region} +on the active region. @end deffn @deffn Command fill-region start end &optional justify nosqueeze to-eop @@ -1453,12 +1456,6 @@ paragraphs. @xref{Standard Regexps}. @end deffn -@deffn Command fill-paragraph-or-region justify -In Transient Mark mode, when the mark is active, this command calls -@code{fill-region} on the active region. Otherwise, it calls -@code{fill-paragraph}. -@end deffn - @deffn Command fill-individual-paragraphs start end &optional justify citation-regexp This command fills each paragraph in the region according to its individual fill prefix. Thus, if the lines of a paragraph were indented