aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorAlex Branham2019-03-25 20:49:01 -0500
committerAlex Branham2019-04-05 19:48:21 -0500
commit10cd65878c741d2a22a1f2c36c54fcad4e516f72 (patch)
treee510f8a15aca9a672b6f889a3f5b48650f17f2db /doc/lispref
parent01dc2da75ba11f8ddb1ac1802a8c5a7f0caea975 (diff)
downloademacs-10cd65878c741d2a22a1f2c36c54fcad4e516f72.tar.gz
emacs-10cd65878c741d2a22a1f2c36c54fcad4e516f72.zip
Update documentation for indent-relative functions
* lisp/indent.el (indent-relative): Document what happens when there is no previous nonblank line. * doc/lispref/text.texi (Relative Indent): Document indent-relative-first-indent-point instead of obsolete indent-relative-maybe. Fix documentation of which argument from 'indent-relative' is used. Bug#34858
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/text.texi4
1 files changed, 2 insertions, 2 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.