Mercurial > emacs
diff lisp/ChangeLog @ 87393:c5dbee67727b
Add prefix arg handling to indent-for-tab-command
(indent-for-tab-command): Rigidly indent the following sexp along
with the current line when a prefix arg is given in the
non-active-region case. Specify raw prefix in interactive spec.
Simplify main indentation logic to get rid of the conditional call
to `indent-according-to-mode' (it just ended up calling
`indent-line-function' in all cases anyway, which can be done more
simply here). Remove unnecessary test of ARG in active region case.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-964
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 25 Dec 2007 21:07:12 +0000 |
parents | 6591afcd092f |
children | de993b77d770 |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Dec 25 20:19:13 2007 +0000 +++ b/lisp/ChangeLog Tue Dec 25 21:07:12 2007 +0000 @@ -1,3 +1,14 @@ +2007-12-25 Miles Bader <miles@gnu.org> + + * indent.el (indent-for-tab-command): Rigidly indent the following + sexp along with the current line when a prefix arg is given in the + non-active-region case. Specify raw prefix in interactive spec. + Simplify main indentation logic to get rid of the conditional call + to `indent-according-to-mode' (it just ended up calling + `indent-line-function' in all cases anyway, which can be done more + simply here). Remove unnecessary test of ARG in active region + case. + 2007-12-25 Richard Stallman <rms@gnu.org> * simple.el (select-active-regions): New option.