Commit 65ced25f authored by Juri Linkov's avatar Juri Linkov

(Filling): Update arguments of fill-paragraph.

fill-paragraph operates on the active region in Transient Mark mode.
Remove fill-paragraph-or-region.
parent 168b980f
2007-10-17 Juri Linkov <juri@jurta.org>
* text.texi (Filling): Update arguments of fill-paragraph.
fill-paragraph operates on the active region in Transient Mark mode.
Remove fill-paragraph-or-region.
2007-10-13 Karl Berry <karl@gnu.org> 2007-10-13 Karl Berry <karl@gnu.org>
* elisp.texi (@dircategory): Move to after @copying, * elisp.texi (@dircategory): Move to after @copying,
......
...@@ -1432,11 +1432,14 @@ as @code{full}. ...@@ -1432,11 +1432,14 @@ as @code{full}.
When you call the filling functions interactively, using a prefix When you call the filling functions interactively, using a prefix
argument implies the value @code{full} for @var{justify}. argument implies the value @code{full} for @var{justify}.
@deffn Command fill-paragraph justify @deffn Command fill-paragraph &optional justify region
This command fills the paragraph at or after point. If This command fills the paragraph at or after point. If
@var{justify} is non-@code{nil}, each line is justified as well. @var{justify} is non-@code{nil}, each line is justified as well.
It uses the ordinary paragraph motion commands to find paragraph It uses the ordinary paragraph motion commands to find paragraph
boundaries. @xref{Paragraphs,,, emacs, The GNU Emacs Manual}. boundaries. @xref{Paragraphs,,, emacs, The GNU Emacs Manual}.
Interactively, when @var{region} is non-@code{nil} in Transient Mark
mode and the mark is active, this command calls @code{fill-region}
on the active region.
@end deffn @end deffn
@deffn Command fill-region start end &optional justify nosqueeze to-eop @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,12 +1456,6 @@ The variable @code{paragraph-separate} controls how to distinguish
paragraphs. @xref{Standard Regexps}. paragraphs. @xref{Standard Regexps}.
@end deffn @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 @deffn Command fill-individual-paragraphs start end &optional justify citation-regexp
This command fills each paragraph in the region according to its This command fills each paragraph in the region according to its
individual fill prefix. Thus, if the lines of a paragraph were indented individual fill prefix. Thus, if the lines of a paragraph were indented
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment