Use @key{} where it is missing in the manuals

This commit is contained in:
Michael Albinus 2018-01-31 19:59:12 +01:00
parent 25c01983af
commit 56c37bbdb6
12 changed files with 31 additions and 29 deletions

View file

@ -1259,9 +1259,9 @@ Highlight empty lines.
@item big-indent @item big-indent
@vindex whitespace-big-indent-regexp @vindex whitespace-big-indent-regexp
Highlight too-deep indentation. By default any sequence of at least 4 Highlight too-deep indentation. By default any sequence of at least 4
consecutive TAB characters or 32 consecutive SPC characters is consecutive @key{TAB} characters or 32 consecutive @key{SPC}
highlighted. To change that, customize the regular expression characters is highlighted. To change that, customize the regular
@code{whitespace-big-indent-regexp}. expression @code{whitespace-big-indent-regexp}.
@item space-mark @item space-mark
Draw space and non-breaking characters with a special glyph. Draw space and non-breaking characters with a special glyph.

View file

@ -723,7 +723,7 @@ C and Related Modes
* Motion in C:: Commands to move by C statements, etc. * Motion in C:: Commands to move by C statements, etc.
* Electric C:: Colon and other chars can automatically reindent. * Electric C:: Colon and other chars can automatically reindent.
* Hungry Delete:: A more powerful DEL command. * Hungry Delete:: A more powerful @key{DEL} command.
* Other C Commands:: Filling comments, viewing expansion of macros, * Other C Commands:: Filling comments, viewing expansion of macros,
and other neat features. and other neat features.

View file

@ -857,7 +857,7 @@ region is active.
Unlike the standard region, the region-rectangle can have its corners Unlike the standard region, the region-rectangle can have its corners
extended past the end of buffer, or inside stretches of white space extended past the end of buffer, or inside stretches of white space
that point normally cannot enter, like the TAB. that point normally cannot enter, like the @key{TAB}.
@findex rectangle-exchange-point-and-mark @findex rectangle-exchange-point-and-mark
@findex exchange-point-and-mark@r{, in rectangle-mark-mode} @findex exchange-point-and-mark@r{, in rectangle-mark-mode}

View file

@ -1899,7 +1899,7 @@ Move to the previous reference and display it in the other window
@findex xref-show-location-at-point @findex xref-show-location-at-point
Display the reference on the current line in the other window Display the reference on the current line in the other window
(@code{xref-show-location-at-point}). (@code{xref-show-location-at-point}).
@item TAB @item @key{TAB}
@findex xref-quit-and-goto-xref @findex xref-quit-and-goto-xref
Display the reference on the current line and bury the @file{*xref*} Display the reference on the current line and bury the @file{*xref*}
buffer (@code{xref-quit-and-goto-xref}). buffer (@code{xref-quit-and-goto-xref}).

View file

@ -1587,7 +1587,7 @@ with Emacs.
@menu @menu
* Motion in C:: Commands to move by C statements, etc. * Motion in C:: Commands to move by C statements, etc.
* Electric C:: Colon and other chars can automatically reindent. * Electric C:: Colon and other chars can automatically reindent.
* Hungry Delete:: A more powerful DEL command. * Hungry Delete:: A more powerful @key{DEL} command.
* Other C Commands:: Filling comments, viewing expansion of macros, * Other C Commands:: Filling comments, viewing expansion of macros,
and other neat features. and other neat features.
@end menu @end menu

View file

@ -1675,8 +1675,8 @@ line. In particular, @kbd{C-g} simply exits the @code{query-replace}.
To restart a @code{query-replace} once it is exited, use @kbd{C-x To restart a @code{query-replace} once it is exited, use @kbd{C-x
@key{ESC} @key{ESC}}, which repeats the @code{query-replace} because it @key{ESC} @key{ESC}}, which repeats the @code{query-replace} because it
used the minibuffer to read its arguments. @xref{Repetition, C-x ESC used the minibuffer to read its arguments. @xref{Repetition, C-x @key{ESC}
ESC}. @key{ESC}}.
@cindex invisible text, and query-replace @cindex invisible text, and query-replace
The option @code{search-invisible} determines how @code{query-replace} The option @code{search-invisible} determines how @code{query-replace}

View file

@ -748,7 +748,7 @@ part of the prompt.
@group @group
(execute-extended-command 3) (execute-extended-command 3)
---------- Buffer: Minibuffer ---------- ---------- Buffer: Minibuffer ----------
3 M-x forward-word RET 3 M-x forward-word @key{RET}
---------- Buffer: Minibuffer ---------- ---------- Buffer: Minibuffer ----------
@result{} t @result{} t
@end group @end group

View file

@ -941,10 +941,10 @@ The profiler report buffer shows, on each line, a function that was
called, followed by how much resource (processor or memory) it used in called, followed by how much resource (processor or memory) it used in
absolute and percentage times since profiling started. If a given absolute and percentage times since profiling started. If a given
line has a @samp{+} symbol at the left-hand side, you can expand that line has a @samp{+} symbol at the left-hand side, you can expand that
line by typing @key{RET}, in order to see the function(s) called by line by typing @kbd{@key{RET}}, in order to see the function(s) called
the higher-level function. Use a prefix argument (@key{C-u RET}) to by the higher-level function. Use a prefix argument (@kbd{C-u
see the whole call tree below a function. Pressing @key{RET} again @key{RET}}) to see the whole call tree below a function. Pressing
will collapse back to the original state. @kbd{@key{RET}} again will collapse back to the original state.
Press @kbd{j} or @kbd{mouse-2} to jump to the definition of a function. Press @kbd{j} or @kbd{mouse-2} to jump to the definition of a function.
Press @kbd{d} to view a function's documentation. Press @kbd{d} to view a function's documentation.

View file

@ -4599,7 +4599,7 @@ first character in the group of consecutive characters that have the
same @code{display} property. The space width is the pixel width of same @code{display} property. The space width is the pixel width of
that character, multiplied by @var{factor}. (On text-mode terminals, that character, multiplied by @var{factor}. (On text-mode terminals,
the ``pixel width'' of a character is usually 1, but it could be more the ``pixel width'' of a character is usually 1, but it could be more
for TABs and double-width CJK characters.) for @key{TAB}s and double-width CJK characters.)
@item :align-to @var{hpos} @item :align-to @var{hpos}
Specifies that the space should be wide enough to reach @var{hpos}. Specifies that the space should be wide enough to reach @var{hpos}.

View file

@ -3545,10 +3545,11 @@ provided grammar is precise enough, @code{transpose-sexps} can correctly
transpose the two arguments of a @code{+} operator, taking into account transpose the two arguments of a @code{+} operator, taking into account
the precedence rules of the language. the precedence rules of the language.
Calling @code{smie-setup} is also sufficient to make TAB indentation work in Calling @code{smie-setup} is also sufficient to make @key{TAB}
the expected way, extends @code{blink-matching-paren} to apply to indentation work in the expected way, extends
elements like @code{begin...end}, and provides some commands that you @code{blink-matching-paren} to apply to elements like
can bind in the major mode keymap. @code{begin...end}, and provides some commands that you can bind in
the major mode keymap.
@deffn Command smie-close-block @deffn Command smie-close-block
This command closes the most recently opened (and not yet closed) block. This command closes the most recently opened (and not yet closed) block.

View file

@ -1776,7 +1776,7 @@ affect it.
Binding @code{coding-system-for-write} to a non-@code{nil} value Binding @code{coding-system-for-write} to a non-@code{nil} value
prevents output primitives from calling the function specified by prevents output primitives from calling the function specified by
@code{select-safe-coding-system-function} (@pxref{User-Chosen Coding @code{select-safe-coding-system-function} (@pxref{User-Chosen Coding
Systems}). This is because @kbd{C-x RET c} Systems}). This is because @kbd{C-x @key{RET} c}
(@code{universal-coding-system-argument}) works by binding (@code{universal-coding-system-argument}) works by binding
@code{coding-system-for-write}, and Emacs should obey user selection. @code{coding-system-for-write}, and Emacs should obey user selection.
If a Lisp program binds @code{coding-system-for-write} to a value that If a Lisp program binds @code{coding-system-for-write} to a value that

View file

@ -17,14 +17,15 @@ should follow.
@findex checkdoc @findex checkdoc
@findex checkdoc-current-buffer @findex checkdoc-current-buffer
@findex checkdoc-file @findex checkdoc-file
You can automatically check some of the conventions described below by You can automatically check some of the conventions described below
running the command @kbd{M-x checkdoc RET} when visiting a Lisp file. by running the command @kbd{M-x checkdoc @key{RET}} when visiting a
It cannot check all of the conventions, and not all the warnings it Lisp file. It cannot check all of the conventions, and not all the
gives necessarily correspond to problems, but it is worth examining them warnings it gives necessarily correspond to problems, but it is worth
all. Alternatively, use the command @kbd{M-x checkdoc-current-buffer RET} examining them all. Alternatively, use the command @kbd{M-x
to check the conventions in the current buffer, or @code{checkdoc-file} checkdoc-current-buffer @key{RET}} to check the conventions in the
when you want to check a file in batch mode, e.g., with a command run by current buffer, or @code{checkdoc-file} when you want to check a file
@kbd{@w{M-x compile RET}}. in batch mode, e.g., with a command run by @kbd{@w{M-x compile
@key{RET}}}.
@menu @menu
* Coding Conventions:: Conventions for clean and robust programs. * Coding Conventions:: Conventions for clean and robust programs.
@ -1028,7 +1029,7 @@ but only the main one.
@findex checkdoc-package-keywords @findex checkdoc-package-keywords
This line lists keywords for the @code{finder-by-keyword} help command. This line lists keywords for the @code{finder-by-keyword} help command.
Please use that command to see a list of the meaningful keywords. The Please use that command to see a list of the meaningful keywords. The
command @kbd{M-x checkdoc-package-keywords RET} will find and display command @kbd{M-x checkdoc-package-keywords @key{RET}} will find and display
any keywords that are not in @code{finder-known-keywords}. If you set any keywords that are not in @code{finder-known-keywords}. If you set
the variable @code{checkdoc-package-keywords-flag} non-@code{nil}, the variable @code{checkdoc-package-keywords-flag} non-@code{nil},
checkdoc commands will include the keyword verification in its checks. checkdoc commands will include the keyword verification in its checks.