1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(indent-region): Make COLUMN arg optional.

This commit is contained in:
Richard M. Stallman 2002-05-19 16:09:28 +00:00
parent c389144777
commit 1d9cc34573

View File

@ -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'. "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.") 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. "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. 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. If there is a fill prefix, make each line start with the fill prefix.
With argument COLUMN, indent each line to that column. With argument COLUMN, indent each line to that column.