From: Gerd Moellmann Date: Mon, 25 Oct 1999 12:51:38 +0000 (+0000) Subject: (indent-region): Doc fix. X-Git-Tag: emacs-pretest-21.0.90~6317 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6528f1ca13f5af000ba24c84a8b4642bf9139c65;p=emacs.git (indent-region): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 56d64e20af7..ce22b922bdd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -3,6 +3,8 @@ * frame.el (auto-raise-mode): When enabling the mode, immediately raise the selected frame. + * indent.el (indent-region): Doc fix. + 1999-10-24 Stephen Eglen * progmodes/octave-mod.el (octave-auto-indent): Remove :version so 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