From: Juri Linkov Date: Thu, 18 Oct 2007 00:14:35 +0000 (+0000) Subject: (Filling): Update arguments of fill-paragraph. X-Git-Tag: emacs-pretest-23.0.90~10264 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=65ced25fcb43c1719868b6e56b3d9a49034fe9e1;p=emacs.git (Filling): Update arguments of fill-paragraph. fill-paragraph operates on the active region in Transient Mark mode. Remove fill-paragraph-or-region. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index d95597e940b..e0d9db962f9 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,9 @@ +2007-10-17 Juri Linkov + + * text.texi (Filling): Update arguments of fill-paragraph. + fill-paragraph operates on the active region in Transient Mark mode. + Remove fill-paragraph-or-region. + 2007-10-13 Karl Berry * elisp.texi (@dircategory): Move to after @copying, diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index daaaf6c9b9d..5b935bc6e23 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -1432,11 +1432,14 @@ as @code{full}. 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 @@ The variable @code{paragraph-separate} controls how to distinguish 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