summaryrefslogtreecommitdiff
path: root/lisp/indent.el
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-10-25 12:51:38 +0000
committerGerd Moellmann <gerd@gnu.org>1999-10-25 12:51:38 +0000
commit6528f1ca13f5af000ba24c84a8b4642bf9139c65 (patch)
tree8be507a6838a7b8004cdcb259056bcd90bca6611 /lisp/indent.el
parent7d0ff466260902f5be186fd86c2ac42732431ede (diff)
downloademacs-6528f1ca13f5af000ba24c84a8b4642bf9139c65.tar.gz
(indent-region): Doc fix.
Diffstat (limited to 'lisp/indent.el')
-rw-r--r--lisp/indent.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/indent.el b/lisp/indent.el
index ca90040f045..7f044c4ac15 100644
--- a/lisp/indent.el
+++ b/lisp/indent.el
@@ -285,11 +285,14 @@ A value of nil means really run `indent-according-to-mode' on each line.")
(defun indent-region (start end column)
"Indent each nonblank line in the region.
-With no argument, indent each line using `indent-according-to-mode',
+With prefix no argument, indent each line using `indent-according-to-mode',
or use `indent-region-function' to do the whole region if that's non-nil.
If there is a fill prefix, make each line start with the fill prefix.
With argument COLUMN, indent each line to that column.
-Called from a program, takes three args: START, END and COLUMN."
+
+When you call this from a program, START and END specify
+the region to indent, and COLUMN specifies the indentation column.
+If COLUMN is nil, then indent each line according to the mode."
(interactive "r\nP")
(if (null column)
(if fill-prefix