[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5de5b63: Document all parameters on `indent-relative'
From: |
Lars Ingebrigtsen |
Subject: |
master 5de5b63: Document all parameters on `indent-relative' |
Date: |
Wed, 28 Oct 2020 07:47:09 -0400 (EDT) |
branch: master
commit 5de5b63e57d45330221c7f3c160b75fd7d02ef9e
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Document all parameters on `indent-relative'
* doc/lispref/text.texi (Relative Indent): Mention the FIRST-ONLY
parameter (bug#39330).
---
doc/lispref/text.texi | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 559b2b1..550e7fe 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -2566,7 +2566,7 @@ the beginning of the line (if @var{nochange-regexp} is
non-@code{nil}).
This section describes two commands that indent the current line
based on the contents of previous lines.
-@deffn Command indent-relative &optional unindented-ok
+@deffn Command indent-relative &optional first-only unindented-ok
This command inserts whitespace at point, extending to the same
column as the next @dfn{indent point} of the previous nonblank line. An
indent point is a non-whitespace character following whitespace. The
@@ -2582,6 +2582,9 @@ nothing (if @var{unindented-ok} is non-@code{nil}) or
calls
of the last column of a short line of text, this command ordinarily
moves point to the next tab stop by inserting whitespace.
+If @var{first-only} is non-@code{nil}, only the first indent point is
+considered.
+
The return value of @code{indent-relative} is unpredictable.
In the following example, point is at the beginning of the second
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 5de5b63: Document all parameters on `indent-relative',
Lars Ingebrigtsen <=