summaryrefslogtreecommitdiff
path: root/doc/lispref/text.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-02-18 09:47:44 +0200
committerEli Zaretskii <eliz@gnu.org>2022-02-18 09:47:44 +0200
commit1e4b04c54030eeed22b12e4f0928e9cdfda74251 (patch)
treebfaa0d6d1218cb923b694af79b84fb9349983641 /doc/lispref/text.texi
parent9fd396e4d07fb36d111c32c6ad8e67cf6dbaa97e (diff)
downloademacs-1e4b04c54030eeed22b12e4f0928e9cdfda74251.tar.gz
Improve documentation of filling and justification commands
* doc/lispref/text.texi (Filling): * lisp/textmodes/fill.el (fill-region-as-paragraph) (default-justification, set-justification, justify-current-line): Clarify "canonicalization" of spaces and the meaning of justification styles. (Bug#54047) (set-justification-left, set-justification-right) (set-justification-full): Improve wording of doc strings.
Diffstat (limited to 'doc/lispref/text.texi')
-rw-r--r--doc/lispref/text.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 013050c2ad0..958da2f3609 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -1670,8 +1670,9 @@ filling when @var{justify} is non-@code{nil}.
If @var{nosqueeze} is non-@code{nil}, that means to leave whitespace
other than line breaks untouched. If @var{squeeze-after} is
-non-@code{nil}, it specifies a position in the region, and means don't
-canonicalize spaces before that position.
+non-@code{nil}, it specifies a position in the region, and means
+that whitespace other than line breaks should be left untouched before
+that position.
In Adaptive Fill mode, this command calls @code{fill-context-prefix} to
choose a fill prefix by default. @xref{Adaptive Fill}.