mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
; Minor markup change in indent.texi
* doc/emacs/indent.texi (Indentation Commands): Use @kbd{@key{...}} for better looks. (Bug#32248)
This commit is contained in:
parent
2f00ffe5f6
commit
39da592da8
@ -60,9 +60,9 @@ repositioned to the first non-whitespace character on the line.
|
||||
@node Indentation Commands
|
||||
@section Indentation Commands
|
||||
|
||||
Apart from the @key{TAB} (@code{indent-for-tab-command}) command,
|
||||
Emacs provides a variety of commands to perform indentation in other
|
||||
ways.
|
||||
Apart from the @kbd{@key{TAB}} (@code{indent-for-tab-command})
|
||||
command, Emacs provides a variety of commands to perform indentation
|
||||
in other ways.
|
||||
|
||||
@table @kbd
|
||||
@item C-M-o
|
||||
@ -113,8 +113,8 @@ appears after the newline that is deleted. @xref{Fill Prefix}.
|
||||
@item C-M-\
|
||||
@kindex C-M-\
|
||||
@findex indent-region
|
||||
Indent all the lines in the region, as though you had typed @key{TAB}
|
||||
at the beginning of each line (@code{indent-region}).
|
||||
Indent all the lines in the region, as though you had typed
|
||||
@kbd{@key{TAB}} at the beginning of each line (@code{indent-region}).
|
||||
|
||||
If a numeric argument is supplied, indent every line in the region to
|
||||
that column number.
|
||||
@ -128,11 +128,12 @@ in the region, moving the affected lines as a rigid unit.
|
||||
|
||||
If called with no argument, the command activates a transient mode for
|
||||
adjusting the indentation of the affected lines interactively. While
|
||||
this transient mode is active, typing @key{LEFT} or @key{RIGHT}
|
||||
indents leftward and rightward, respectively, by one space. You can
|
||||
also type @kbd{S-@key{LEFT}} or @kbd{S-@key{RIGHT}} to indent leftward
|
||||
or rightward to the next tab stop (@pxref{Tab Stops}). Typing any
|
||||
other key disables the transient mode, and resumes normal editing.
|
||||
this transient mode is active, typing @kbd{@key{LEFT}} or
|
||||
@kbd{@key{RIGHT}} indents leftward and rightward, respectively, by one
|
||||
space. You can also type @kbd{S-@key{LEFT}} or @kbd{S-@key{RIGHT}} to
|
||||
indent leftward or rightward to the next tab stop (@pxref{Tab Stops}).
|
||||
Typing any other key disables the transient mode, and resumes normal
|
||||
editing.
|
||||
|
||||
If called with a prefix argument @var{n}, this command indents the
|
||||
lines forward by @var{n} spaces (without enabling the transient mode).
|
||||
|
Loading…
Reference in New Issue
Block a user