Mercurial > emacs
changeset 38323:1241890094ae
C-u TAB works only in certain modes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 08 Jul 2001 16:46:00 +0000 |
parents | 245114062ee0 |
children | ce45998cedf2 |
files | man/programs.texi |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/man/programs.texi Sun Jul 08 16:45:01 2001 +0000 +++ b/man/programs.texi Sun Jul 08 16:46:00 2001 +0000 @@ -428,11 +428,12 @@ @kindex C-u TAB If you like the relative indentation within a grouping, but not the indentation of its first line, you can type @kbd{C-u @key{TAB}} to -reindent the whole grouping as a rigid unit. @key{TAB} with a numeric -argument reindents the current line as usual, then reindents by the -same amount all the lines in the parenthetical grouping starting on -the current line. It is clever, though, and does not alter lines that -start inside strings, or C preprocessor lines when in C mode. +reindent the whole grouping as a rigid unit. (This works in Lisp +modes and C and related modes.) @key{TAB} with a numeric argument +reindents the current line as usual, then reindents by the same amount +all the lines in the parenthetical grouping starting on the current +line. It is clever, though, and does not alter lines that start +inside strings, or C preprocessor lines when in C mode. @findex indent-code-rigidly Another way to specify the range to be reindented is with the region.