# HG changeset patch # User Aidan Kehoe # Date 1262960414 0 # Node ID 5b560b7374ff9146d81c3e7c0f6fa52cf090b124 # Parent 3c96cf473e07d8fb8eb39c237a1ebd47430f6325 Make COLUMN optional in #'indent-region, as in GNU. 2010-01-08 Aidan Kehoe * indent.el (indent-region): Make COLUMN optional as in GNU, merging Andreas Roehler's change of http://mid.gmane.org/4B46F5FC.2070506@online.de ; thank you Andreas! diff -r 3c96cf473e07 -r 5b560b7374ff lisp/ChangeLog --- a/lisp/ChangeLog Thu Jan 07 21:50:59 2010 +0000 +++ b/lisp/ChangeLog Fri Jan 08 14:20:14 2010 +0000 @@ -1,3 +1,10 @@ +2010-01-08 Aidan Kehoe + + * indent.el (indent-region): + Make COLUMN optional as in GNU, merging Andreas Roehler's change + of http://mid.gmane.org/4B46F5FC.2070506@online.de ; thank you + Andreas! + 2010-01-07 Aidan Kehoe * cl-macs.el (map): diff -r 3c96cf473e07 -r 5b560b7374ff lisp/indent.el --- a/lisp/indent.el Thu Jan 07 21:50:59 2010 +0000 +++ b/lisp/indent.el Fri Jan 08 14:20:14 2010 +0000 @@ -289,7 +289,7 @@ "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 no argument, indent each line using `indent-according-to-mode', or use `indent-region-function' to do the whole region if that's non-nil.