aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-05-19 16:09:28 +0000
committerRichard M. Stallman2002-05-19 16:09:28 +0000
commit1d9cc345732fd4f2d2d412959f3a2a4549a4b79b (patch)
tree3f4533f4ad3bfccb74a0a1ed712c953c40b92745
parentc38914477798c4a17fd123cee070aa0a6cb11628 (diff)
downloademacs-1d9cc345732fd4f2d2d412959f3a2a4549a4b79b.tar.gz
emacs-1d9cc345732fd4f2d2d412959f3a2a4549a4b79b.zip
(indent-region): Make COLUMN arg optional.
-rw-r--r--lisp/indent.el4
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
322 "Short cut function to indent region using `indent-according-to-mode'. 322 "Short cut function to indent region using `indent-according-to-mode'.
323A value of nil means really run `indent-according-to-mode' on each line.") 323A value of nil means really run `indent-according-to-mode' on each line.")
324 324
325(defun indent-region (start end column) 325(defun indent-region (start end &optional column)
326 "Indent each nonblank line in the region. 326 "Indent each nonblank line in the region.
327With prefix no argument, indent each line using `indent-according-to-mode', 327With no prefix argument, indent each line using `indent-according-to-mode',
328or use `indent-region-function' to do the whole region if that's non-nil. 328or use `indent-region-function' to do the whole region if that's non-nil.
329If there is a fill prefix, make each line start with the fill prefix. 329If there is a fill prefix, make each line start with the fill prefix.
330With argument COLUMN, indent each line to that column. 330With argument COLUMN, indent each line to that column.