* indent.el (indent-for-tab-command): Doc fix.

This commit is contained in:
Chong Yidong 2010-03-22 13:28:27 -04:00
parent 657071fc07
commit e9ba3e26e5
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2010-03-21 Chong Yidong <cyd@stupidchicken.com>
* indent.el (indent-for-tab-command): Doc fix.
2010-03-22 Alan Mackenzie <acm@muc.de>
* progmodes/cc-engine.el (c-remove-stale-state-cache): Fix

View file

@ -85,8 +85,10 @@ special; we don't actually use them here."
(defun indent-for-tab-command (&optional arg)
"Indent line or region in proper way for current major mode or insert a tab.
Depending on `tab-always-indent', either insert a tab or indent.
If initial point was within line's indentation, position after
the indentation. Else stay at same point in text.
In most major modes, if point was in the current line's indentation,
it is moved to the first non-whitespace character after indenting;
otherwise it stays at the same position in the text.
If a prefix argument is given, also rigidly indent the entire
balanced expression which starts at the beginning of the current