]> git.eshelyaron.com Git - emacs.git/commitdiff
(Filling): Update arguments of fill-paragraph.
authorJuri Linkov <juri@jurta.org>
Thu, 18 Oct 2007 00:14:35 +0000 (00:14 +0000)
committerJuri Linkov <juri@jurta.org>
Thu, 18 Oct 2007 00:14:35 +0000 (00:14 +0000)
fill-paragraph operates on the active region in Transient Mark mode.
Remove fill-paragraph-or-region.

doc/lispref/ChangeLog
doc/lispref/text.texi

index d95597e940b9a6e8e682fd6829b98ae78bfe1277..e0d9db962f9f3ca2975db1eca52346638e431f38 100644 (file)
@@ -1,3 +1,9 @@
+2007-10-17  Juri Linkov  <juri@jurta.org>
+
+       * 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  <karl@gnu.org>
 
        * elisp.texi (@dircategory): Move to after @copying,
index daaaf6c9b9de23e8c0dc7d9aae33c24b617cb178..5b935bc6e23c536d8601c3a301bf26373b2d038c 100644 (file)
@@ -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