diff lisp/indent.el @ 4812:5b560b7374ff

Make COLUMN optional in #'indent-region, as in GNU. 2010-01-08 Aidan Kehoe <kehoea@parhasard.net> * 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!
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 08 Jan 2010 14:20:14 +0000
parents a634e3b7acc8
children 308d34e9f07d
line wrap: on
line diff
--- 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.