aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/lispref/text.texi4
-rw-r--r--lisp/indent.el5
2 files changed, 5 insertions, 4 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 86f9fa0e5f5..1ef836b8f94 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -2577,11 +2577,11 @@ The quick brown fox jum @point{}ped.
2577@end example 2577@end example
2578@end deffn 2578@end deffn
2579 2579
2580@deffn Command indent-relative-maybe 2580@deffn Command indent-relative-first-indent-point
2581@comment !!SourceFile indent.el 2581@comment !!SourceFile indent.el
2582This command indents the current line like the previous nonblank line, 2582This command indents the current line like the previous nonblank line,
2583by calling @code{indent-relative} with @code{t} as the 2583by calling @code{indent-relative} with @code{t} as the
2584@var{unindented-ok} argument. The return value is unpredictable. 2584@var{first-only} argument. The return value is unpredictable.
2585 2585
2586If the previous nonblank line has no indent points beyond the current 2586If the previous nonblank line has no indent points beyond the current
2587column, this command does nothing. 2587column, this command does nothing.
diff --git a/lisp/indent.el b/lisp/indent.el
index f3d3158faa0..bf87d6af760 100644
--- a/lisp/indent.el
+++ b/lisp/indent.el
@@ -600,8 +600,9 @@ considered.
600 600
601If the previous nonblank line has no indent points beyond the 601If the previous nonblank line has no indent points beyond the
602column point starts at, then `tab-to-tab-stop' is done, if both 602column point starts at, then `tab-to-tab-stop' is done, if both
603FIRST-ONLY and UNINDENTED-OK are nil, otherwise nothing is done 603FIRST-ONLY and UNINDENTED-OK are nil, otherwise nothing is done.
604in this case. 604If there isn't a previous nonblank line and UNINDENTED-OK is nil,
605call `tab-to-tab-stop'.
605 606
606See also `indent-relative-first-indent-point'." 607See also `indent-relative-first-indent-point'."
607 (interactive "P") 608 (interactive "P")