aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2007-10-18 00:14:35 +0000
committerJuri Linkov2007-10-18 00:14:35 +0000
commit65ced25fcb43c1719868b6e56b3d9a49034fe9e1 (patch)
tree8ca9b87d03a68f040633f5458b28bfa00ce06350
parent168b980f4bf0dccf8f445a264aa8a863780b7bc4 (diff)
downloademacs-65ced25fcb43c1719868b6e56b3d9a49034fe9e1.tar.gz
emacs-65ced25fcb43c1719868b6e56b3d9a49034fe9e1.zip
(Filling): Update arguments of fill-paragraph.
fill-paragraph operates on the active region in Transient Mark mode. Remove fill-paragraph-or-region.
-rw-r--r--doc/lispref/ChangeLog6
-rw-r--r--doc/lispref/text.texi11
2 files changed, 10 insertions, 7 deletions
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 @@
12007-10-17 Juri Linkov <juri@jurta.org>
2
3 * text.texi (Filling): Update arguments of fill-paragraph.
4 fill-paragraph operates on the active region in Transient Mark mode.
5 Remove fill-paragraph-or-region.
6
12007-10-13 Karl Berry <karl@gnu.org> 72007-10-13 Karl Berry <karl@gnu.org>
2 8
3 * elisp.texi (@dircategory): Move to after @copying, 9 * 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}.
1432 When you call the filling functions interactively, using a prefix 1432 When you call the filling functions interactively, using a prefix
1433argument implies the value @code{full} for @var{justify}. 1433argument implies the value @code{full} for @var{justify}.
1434 1434
1435@deffn Command fill-paragraph justify 1435@deffn Command fill-paragraph &optional justify region
1436This command fills the paragraph at or after point. If 1436This command fills the paragraph at or after point. If
1437@var{justify} is non-@code{nil}, each line is justified as well. 1437@var{justify} is non-@code{nil}, each line is justified as well.
1438It uses the ordinary paragraph motion commands to find paragraph 1438It uses the ordinary paragraph motion commands to find paragraph
1439boundaries. @xref{Paragraphs,,, emacs, The GNU Emacs Manual}. 1439boundaries. @xref{Paragraphs,,, emacs, The GNU Emacs Manual}.
1440Interactively, when @var{region} is non-@code{nil} in Transient Mark
1441mode and the mark is active, this command calls @code{fill-region}
1442on the active region.
1440@end deffn 1443@end deffn
1441 1444
1442@deffn Command fill-region start end &optional justify nosqueeze to-eop 1445@deffn Command fill-region start end &optional justify nosqueeze to-eop
@@ -1453,12 +1456,6 @@ The variable @code{paragraph-separate} controls how to distinguish
1453paragraphs. @xref{Standard Regexps}. 1456paragraphs. @xref{Standard Regexps}.
1454@end deffn 1457@end deffn
1455 1458
1456@deffn Command fill-paragraph-or-region justify
1457In Transient Mark mode, when the mark is active, this command calls
1458@code{fill-region} on the active region. Otherwise, it calls
1459@code{fill-paragraph}.
1460@end deffn
1461
1462@deffn Command fill-individual-paragraphs start end &optional justify citation-regexp 1459@deffn Command fill-individual-paragraphs start end &optional justify citation-regexp
1463This command fills each paragraph in the region according to its 1460This command fills each paragraph in the region according to its
1464individual fill prefix. Thus, if the lines of a paragraph were indented 1461individual fill prefix. Thus, if the lines of a paragraph were indented