Mercurial > emacs
changeset 38151:9fb3fc20b9b0
(indent-relative-maybe, indent-relative): Doc fix.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 22 Jun 2001 11:46:52 +0000 |
parents | e8daadee7c3c |
children | d0729f2b15de |
files | lisp/indent.el |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/indent.el Fri Jun 22 11:42:44 2001 +0000 +++ b/lisp/indent.el Fri Jun 22 11:46:52 2001 +0000 @@ -345,7 +345,11 @@ (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 @@ 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))