(Filling): Document fill-paragraph-or-region.
authorJuri Linkov <juri@jurta.org>
Sat, 6 Oct 2007 22:25:18 +0000 (22:25 +0000)
committerJuri Linkov <juri@jurta.org>
Sat, 6 Oct 2007 22:25:18 +0000 (22:25 +0000)
doc/lispref/ChangeLog
doc/lispref/text.texi

index 82393f4..e5097a4 100644 (file)
@@ -1,3 +1,7 @@
+2007-10-06  Juri Linkov  <juri@jurta.org>
+
+       * text.texi (Filling): Document fill-paragraph-or-region.
+
 2007-10-05  Juanma Barranquero  <lekktu@gmail.com>
 
        * display.texi (Auto Faces): Fix typo.
index 22820d7..c6da06b 100644 (file)
@@ -1453,6 +1453,12 @@ 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