diff options
| author | Juri Linkov | 2007-10-18 00:14:35 +0000 |
|---|---|---|
| committer | Juri Linkov | 2007-10-18 00:14:35 +0000 |
| commit | 65ced25fcb43c1719868b6e56b3d9a49034fe9e1 (patch) | |
| tree | 8ca9b87d03a68f040633f5458b28bfa00ce06350 | |
| parent | 168b980f4bf0dccf8f445a264aa8a863780b7bc4 (diff) | |
| download | emacs-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/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 11 |
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 @@ | |||
| 1 | 2007-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 | |||
| 1 | 2007-10-13 Karl Berry <karl@gnu.org> | 7 | 2007-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 |
| 1433 | argument implies the value @code{full} for @var{justify}. | 1433 | argument implies the value @code{full} for @var{justify}. |
| 1434 | 1434 | ||
| 1435 | @deffn Command fill-paragraph justify | 1435 | @deffn Command fill-paragraph &optional justify region |
| 1436 | This command fills the paragraph at or after point. If | 1436 | This 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. |
| 1438 | It uses the ordinary paragraph motion commands to find paragraph | 1438 | It uses the ordinary paragraph motion commands to find paragraph |
| 1439 | boundaries. @xref{Paragraphs,,, emacs, The GNU Emacs Manual}. | 1439 | boundaries. @xref{Paragraphs,,, emacs, The GNU Emacs Manual}. |
| 1440 | Interactively, when @var{region} is non-@code{nil} in Transient Mark | ||
| 1441 | mode and the mark is active, this command calls @code{fill-region} | ||
| 1442 | on 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 | |||
| 1453 | paragraphs. @xref{Standard Regexps}. | 1456 | paragraphs. @xref{Standard Regexps}. |
| 1454 | @end deffn | 1457 | @end deffn |
| 1455 | 1458 | ||
| 1456 | @deffn Command fill-paragraph-or-region justify | ||
| 1457 | In 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 |
| 1463 | This command fills each paragraph in the region according to its | 1460 | This command fills each paragraph in the region according to its |
| 1464 | individual fill prefix. Thus, if the lines of a paragraph were indented | 1461 | individual fill prefix. Thus, if the lines of a paragraph were indented |