summaryrefslogtreecommitdiff
path: root/lisp/indent.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-06-22 11:49:18 +0000
committerEli Zaretskii <eliz@gnu.org>2001-06-22 11:49:18 +0000
commit1fd63d9b9bc249488ec12a49cc3a576baf8c788a (patch)
tree086e4d973ab5e187a1df47e8224a9eefa723bc8d /lisp/indent.el
parent3b01b911c4b63d903303fbdbe3c04eb1fd6cb228 (diff)
downloademacs-1fd63d9b9bc249488ec12a49cc3a576baf8c788a.tar.gz
(indent-relative-maybe, indent-relative): Doc fix.
Diffstat (limited to 'lisp/indent.el')
-rw-r--r--lisp/indent.el12
1 files changed, 10 insertions, 2 deletions
diff --git a/lisp/indent.el b/lisp/indent.el
index a558ff26d5b..d097a02c833 100644
--- a/lisp/indent.el
+++ b/lisp/indent.el
@@ -345,7 +345,11 @@ If COLUMN is nil, then indent each line according to the mode."
(move-marker end nil))))
(defun indent-relative-maybe ()
- "Indent a new line like previous nonblank line."
+ "Indent a new line like previous nonblank line.
+If the previous nonblank line has no indent points beyond the
+column point starts at, this command does nothing.
+
+See also `indent-relative'."
(interactive)
(indent-relative t))
@@ -355,7 +359,11 @@ An indent point is a non-whitespace character following whitespace.
The following line shows the indentation points in this line.
^ ^ ^ ^ ^ ^ ^ ^ ^
If the previous nonblank line has no indent points beyond the
-column point starts at, `tab-to-tab-stop' is done instead."
+column point starts at, `tab-to-tab-stop' is done instead, unless
+this command is invoked with a numeric argument, in which case it
+does nothing.
+
+See also `indent-relative-maybe'."
(interactive "P")
(if (and abbrev-mode
(eq (char-syntax (preceding-char)) ?w))