From: Richard M. Stallman Date: Sun, 19 May 2002 16:09:28 +0000 (+0000) Subject: (indent-region): Make COLUMN arg optional. X-Git-Tag: ttn-vms-21-2-B4~14997 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1d9cc345732fd4f2d2d412959f3a2a4549a4b79b;p=emacs.git (indent-region): Make COLUMN arg optional. --- diff --git a/lisp/indent.el b/lisp/indent.el index a55f9afed8e..da0e04bb1b7 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -322,9 +322,9 @@ line, but does not move past any whitespace that was explicitly inserted "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.