diff options
author | Richard M. Stallman <rms@gnu.org> | 2002-05-19 16:09:28 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2002-05-19 16:09:28 +0000 |
commit | 1d9cc345732fd4f2d2d412959f3a2a4549a4b79b (patch) | |
tree | 3f4533f4ad3bfccb74a0a1ed712c953c40b92745 /lisp/indent.el | |
parent | c38914477798c4a17fd123cee070aa0a6cb11628 (diff) | |
download | emacs-1d9cc345732fd4f2d2d412959f3a2a4549a4b79b.tar.gz |
(indent-region): Make COLUMN arg optional.
Diffstat (limited to 'lisp/indent.el')
-rw-r--r-- | lisp/indent.el | 4 |
1 files changed, 2 insertions, 2 deletions
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. |