changeset 85079:05837f8e01a1

(Filling): Document fill-paragraph-or-region.
author Juri Linkov <juri@jurta.org>
date Sat, 06 Oct 2007 22:24:58 +0000
parents 78a80abb61a1
children 067e136836ee
files doc/lispref/text.texi
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/lispref/text.texi	Sat Oct 06 22:24:14 2007 +0000
+++ b/doc/lispref/text.texi	Sat Oct 06 22:24:58 2007 +0000
@@ -1453,6 +1453,12 @@
 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