summaryrefslogtreecommitdiff
path: root/lisp/indent.el
diff options
context:
space:
mode:
authorAlex Branham <alex.branham@gmail.com>2019-03-25 20:49:01 -0500
committerAlex Branham <alex.branham@gmail.com>2019-04-05 19:48:21 -0500
commit10cd65878c741d2a22a1f2c36c54fcad4e516f72 (patch)
treee510f8a15aca9a672b6f889a3f5b48650f17f2db /lisp/indent.el
parent01dc2da75ba11f8ddb1ac1802a8c5a7f0caea975 (diff)
downloademacs-10cd65878c741d2a22a1f2c36c54fcad4e516f72.tar.gz
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 'lisp/indent.el')
-rw-r--r--lisp/indent.el5
1 files changed, 3 insertions, 2 deletions
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.
If the previous nonblank line has no indent points beyond the
column point starts at, then `tab-to-tab-stop' is done, if both
-FIRST-ONLY and UNINDENTED-OK are nil, otherwise nothing is done
-in this case.
+FIRST-ONLY and UNINDENTED-OK are nil, otherwise nothing is done.
+If there isn't a previous nonblank line and UNINDENTED-OK is nil,
+call `tab-to-tab-stop'.
See also `indent-relative-first-indent-point'."
(interactive "P")