aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJuri Linkov <[email protected]>2007-10-06 22:25:18 +0000
committerJuri Linkov <[email protected]>2007-10-06 22:25:18 +0000
commite1965a693c65ed07fac50b0d9c1be42d2ae26d97 (patch)
treee19f52740b0953dc5552b39cb6f39e95e6b092c1 /doc
parent0d8fb755ce0b74e50426b2449313e79abec276c6 (diff)
(Filling): Document fill-paragraph-or-region.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/text.texi6
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 82393f475f..e5097a4d17 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-06 Juri Linkov <[email protected]>
+
+ * text.texi (Filling): Document fill-paragraph-or-region.
+
2007-10-05 Juanma Barranquero <[email protected]>
* display.texi (Auto Faces): Fix typo.
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 22820d7558..c6da06b4a1 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -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