Add prefix arg handling to indent-for-tab-command
authorMiles Bader <miles@gnu.org>
Tue, 25 Dec 2007 21:07:12 +0000 (21:07 +0000)
committerMiles Bader <miles@gnu.org>
Tue, 25 Dec 2007 21:07:12 +0000 (21:07 +0000)
commit1225a933f039fa2a00680658573cc334892e4a8a
tree346086bb80aeffab10ad1321af775b0d3facf646
parent4496b02bedf7bf5c98249ae486ca80bd049fa9f0
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
lisp/ChangeLog
lisp/indent.el