Mercurial > hg > xemacs-beta
changeset 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 | 3c96cf473e07 |
children | ae2e0c1c8fae |
files | lisp/ChangeLog lisp/indent.el |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <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! + 2010-01-07 Aidan Kehoe <kehoea@parhasard.net> * cl-macs.el (map):
--- 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.