diff options
| author | Chong Yidong | 2010-03-22 13:28:27 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-03-22 13:28:27 -0400 |
| commit | e9ba3e26e5f2cf6a528f42f85c48cfbed5ad7ad9 (patch) | |
| tree | b8b1e903310ffbe242e70056efc73c5cb56a1a60 | |
| parent | 657071fc073b054db83168daffbbc1ce8ff89527 (diff) | |
| download | emacs-e9ba3e26e5f2cf6a528f42f85c48cfbed5ad7ad9.tar.gz emacs-e9ba3e26e5f2cf6a528f42f85c48cfbed5ad7ad9.zip | |
* indent.el (indent-for-tab-command): Doc fix.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/indent.el | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 98ebc73fd3e..5cddb1dc786 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-21 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * indent.el (indent-for-tab-command): Doc fix. | ||
| 4 | |||
| 1 | 2010-03-22 Alan Mackenzie <acm@muc.de> | 5 | 2010-03-22 Alan Mackenzie <acm@muc.de> |
| 2 | 6 | ||
| 3 | * progmodes/cc-engine.el (c-remove-stale-state-cache): Fix | 7 | * progmodes/cc-engine.el (c-remove-stale-state-cache): Fix |
diff --git a/lisp/indent.el b/lisp/indent.el index 3f8353bd90c..adecbfaeb12 100644 --- a/lisp/indent.el +++ b/lisp/indent.el | |||
| @@ -85,8 +85,10 @@ special; we don't actually use them here." | |||
| 85 | (defun indent-for-tab-command (&optional arg) | 85 | (defun indent-for-tab-command (&optional arg) |
| 86 | "Indent line or region in proper way for current major mode or insert a tab. | 86 | "Indent line or region in proper way for current major mode or insert a tab. |
| 87 | Depending on `tab-always-indent', either insert a tab or indent. | 87 | Depending on `tab-always-indent', either insert a tab or indent. |
| 88 | If initial point was within line's indentation, position after | 88 | |
| 89 | the indentation. Else stay at same point in text. | 89 | In most major modes, if point was in the current line's indentation, |
| 90 | it is moved to the first non-whitespace character after indenting; | ||
| 91 | otherwise it stays at the same position in the text. | ||
| 90 | 92 | ||
| 91 | If a prefix argument is given, also rigidly indent the entire | 93 | If a prefix argument is given, also rigidly indent the entire |
| 92 | balanced expression which starts at the beginning of the current | 94 | balanced expression which starts at the beginning of the current |