summaryrefslogtreecommitdiff
path: root/doc/emacs/programs.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-03-18 19:32:22 +0200
committerEli Zaretskii <eliz@gnu.org>2015-03-18 19:32:22 +0200
commit1a941d6c9eab9a35682408d6b85a1a98cfb6b01d (patch)
tree5952a0c01c5b3230931ee9209f5786c16ba61424 /doc/emacs/programs.texi
parent14c47d39fabf1f5dbc239f7e0f5a994e36ecc2ff (diff)
downloademacs-1a941d6c9eab9a35682408d6b85a1a98cfb6b01d.tar.gz
Fix incorrect usage of @key in the User Manual (Bug#20135)
doc/emacs/misc.texi (Term Mode): doc/emacs/programs.texi (Basic Indent, Custom C Indent): doc/emacs/mini.texi (Minibuffer History): doc/emacs/text.texi (Org Mode): doc/emacs/display.texi (View Mode): Use @kbd where @key was mistakenly used.
Diffstat (limited to 'doc/emacs/programs.texi')
-rw-r--r--doc/emacs/programs.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 329175409bf..ff7bed03ea1 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -383,7 +383,7 @@ the preceding lines; if the region is active, @key{TAB} indents each
line within the region, not just the current line.
The command @key{RET} (@code{newline}), which was documented in
-@ref{Inserting Text}, does the same as @key{C-j} followed by
+@ref{Inserting Text}, does the same as @kbd{C-j} followed by
@key{TAB}: it inserts a new line, then adjusts the line's indentation.
When indenting a line that starts within a parenthetical grouping,
@@ -559,7 +559,7 @@ predefined styles, including @code{gnu}, @code{k&r}, @code{bsd},
styles are primarily intended for one language, but any of them can be
used with any of the languages supported by these modes. To find out
what a style looks like, select it and reindent some code, e.g., by
-typing @key{C-M-q} at the start of a function definition.
+typing @kbd{C-M-q} at the start of a function definition.
@kindex C-c . @r{(C mode)}
@findex c-set-style