aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-06-22 11:32:07 +0000
committerEli Zaretskii2001-06-22 11:32:07 +0000
commit5cc06e0b745c4cadb183b91da8a0452e9e1b43f5 (patch)
tree835234f8d47a766852151f5e4d93b3432135982b
parent04142c9a2512f1ec9a52ad763ab70d123bb111ed (diff)
downloademacs-5cc06e0b745c4cadb183b91da8a0452e9e1b43f5.tar.gz
emacs-5cc06e0b745c4cadb183b91da8a0452e9e1b43f5.zip
(Multi-line Indent): Document indent-code-rigidly.
-rw-r--r--man/programs.texi11
1 files changed, 10 insertions, 1 deletions
diff --git a/man/programs.texi b/man/programs.texi
index f3dcd3abd28..ec8e53c09b0 100644
--- a/man/programs.texi
+++ b/man/programs.texi
@@ -478,6 +478,9 @@ Shift an entire list rigidly sideways so that its first line
478is properly indented. 478is properly indented.
479@item C-M-\ 479@item C-M-\
480Reindent all lines in the region (@code{indent-region}). 480Reindent all lines in the region (@code{indent-region}).
481@item M-x indent-code-rigidly
482Shift all the lines in the region rigidly sideways, but do not alter
483lines that start inside comments and strings.
481@end table 484@end table
482 485
483@kindex C-M-q 486@kindex C-M-q
@@ -500,9 +503,15 @@ whole grouping rigidly as a unit. It is clever, though, and does not
500alter lines that start inside strings, or C preprocessor lines when in C 503alter lines that start inside strings, or C preprocessor lines when in C
501mode. 504mode.
502 505
506@findex indent-code-rigidly
503 Another way to specify the range to be reindented is with the region. 507 Another way to specify the range to be reindented is with the region.
504The command @kbd{C-M-\} (@code{indent-region}) applies @key{TAB} to 508The command @kbd{C-M-\} (@code{indent-region}) applies @key{TAB} to
505every line whose first character is between point and mark. 509every line whose first character is between point and mark. The command
510@kbd{M-x indent-code-rigidly} rigidly shifts all the lines in the region
511sideways, like @code{indent-rigidly} does (@pxref{Indentation
512Commands}), except that it doesn't alter the indentation of lines that
513start inside comments and strings, unless the region starts inside that
514comment or string.
506 515
507@node Lisp Indent 516@node Lisp Indent
508@subsection Customizing Lisp Indentation 517@subsection Customizing Lisp Indentation