aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlex Branham2019-03-25 20:49:01 -0500
committerBasil L. Contovounesios2019-04-11 11:41:06 +0100
commit559f64a0b6b6f915d26ada8283b74ab6bbfbf3b2 (patch)
treed691a38dd54b219fd54864c352ef64a0a45e1f19 /doc
parentcb5a34082342695676f2db11e1465bd28347e9de (diff)
downloademacs-559f64a0b6b6f915d26ada8283b74ab6bbfbf3b2.tar.gz
emacs-559f64a0b6b6f915d26ada8283b74ab6bbfbf3b2.zip
Backport: 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 (cherry picked from commit 10cd65878c741d2a22a1f2c36c54fcad4e516f72)
Diffstat (limited to 'doc')
-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 fb5f56e9ddd..73312bb0caa 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -2570,11 +2570,11 @@ The quick brown fox jum @point{}ped.
2570@end example 2570@end example
2571@end deffn 2571@end deffn
2572 2572
2573@deffn Command indent-relative-maybe 2573@deffn Command indent-relative-first-indent-point
2574@comment !!SourceFile indent.el 2574@comment !!SourceFile indent.el
2575This command indents the current line like the previous nonblank line, 2575This command indents the current line like the previous nonblank line,
2576by calling @code{indent-relative} with @code{t} as the 2576by calling @code{indent-relative} with @code{t} as the
2577@var{unindented-ok} argument. The return value is unpredictable. 2577@var{first-only} argument. The return value is unpredictable.
2578 2578
2579If the previous nonblank line has no indent points beyond the current 2579If the previous nonblank line has no indent points beyond the current
2580column, this command does nothing. 2580column, this command does nothing.