[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99666: * indent.el (indent-for-ta
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99666: * indent.el (indent-for-tab-command): Doc fix. |
Date: |
Mon, 22 Mar 2010 13:28:27 -0400 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99666
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Mon 2010-03-22 13:28:27 -0400
message:
* indent.el (indent-for-tab-command): Doc fix.
modified:
lisp/ChangeLog
lisp/indent.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-03-22 17:21:22 +0000
+++ b/lisp/ChangeLog 2010-03-22 17:28:27 +0000
@@ -1,3 +1,7 @@
+2010-03-21 Chong Yidong <address@hidden>
+
+ * indent.el (indent-for-tab-command): Doc fix.
+
2010-03-22 Alan Mackenzie <address@hidden>
* progmodes/cc-engine.el (c-remove-stale-state-cache): Fix
=== modified file 'lisp/indent.el'
--- a/lisp/indent.el 2010-01-20 03:46:23 +0000
+++ b/lisp/indent.el 2010-03-22 17:28:27 +0000
@@ -85,8 +85,10 @@
(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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99666: * indent.el (indent-for-tab-command): Doc fix.,
Chong Yidong <=