Mercurial > emacs
changeset 45367:2a9743cfbeab
(indent-region): Make COLUMN arg optional.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 19 May 2002 16:09:28 +0000 |
parents | c9338efa3fd9 |
children | 65ad2c8b301b |
files | lisp/indent.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/indent.el Sun May 19 16:07:13 2002 +0000 +++ b/lisp/indent.el Sun May 19 16:09:28 2002 +0000 @@ -322,9 +322,9 @@ "Short cut function to indent region using `indent-according-to-mode'. A value of nil means really run `indent-according-to-mode' on each line.") -(defun indent-region (start end column) +(defun indent-region (start end &optional column) "Indent each nonblank line in the region. -With prefix no argument, indent each line using `indent-according-to-mode', +With no prefix 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.