]> code.delx.au - gnu-emacs/commitdiff
Fix incorrect usage of @key in the User Manual (Bug#20135)
authorEli Zaretskii <eliz@gnu.org>
Wed, 18 Mar 2015 17:32:22 +0000 (19:32 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 18 Mar 2015 17:32:22 +0000 (19:32 +0200)
 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.

doc/emacs/ChangeLog
doc/emacs/display.texi
doc/emacs/mini.texi
doc/emacs/misc.texi
doc/emacs/programs.texi
doc/emacs/text.texi

index b9c16c969e3e8e5bc7387eb572b88122b1b4b923..aba1e92bbfa54414ebf402f887a2a0a1887a313f 100644 (file)
@@ -1,3 +1,12 @@
+2015-03-18  Eli Zaretskii  <eliz@gnu.org>
+
+       * misc.texi (Term Mode):
+       * programs.texi (Basic Indent, Custom C Indent):
+       * mini.texi (Minibuffer History):
+       * text.texi (Org Mode):
+       * display.texi (View Mode): Use @kbd where @key was mistakenly
+       used.  (Bug#20135)
+
 2015-03-14  Eli Zaretskii  <eliz@gnu.org>
 
        * basic.texi (Moving Point): Improve indexing for HOME and END.
index 34f84e7664a54f6139e9d6a3abeacd07f9102a16..4046d696b662a9645573d30fb9918bcf07a2a0eb 100644 (file)
@@ -428,7 +428,7 @@ it.  @xref{Disabling}.
 screenfuls.  It provides commands for scrolling through the buffer
 conveniently but not for changing it.  Apart from the usual Emacs
 cursor motion commands, you can type @key{SPC} to scroll forward one
-windowful, @key{S-@key{SPC}} or @key{DEL} to scroll backward, and @kbd{s} to
+windowful, @kbd{S-@key{SPC}} or @key{DEL} to scroll backward, and @kbd{s} to
 start an incremental search.
 
 @kindex q @r{(View mode)}
index 2a86af3ec2f15a24bd6a3365e31a5fecca3f9b2c..f0bedf8854d8c60bab29ed53884cd9038144695a 100644 (file)
@@ -622,7 +622,7 @@ typed @kbd{M-p}), Emacs tries fetching from a list of default
 arguments: values that you are likely to enter.  You can think of this
 as moving through the ``future history'' list.
 
-  If you edit the text inserted by the @kbd{M-p} or @key{M-n}
+  If you edit the text inserted by the @kbd{M-p} or @kbd{M-n}
 minibuffer history commands, this does not change its entry in the
 history list.  However, the edited argument does go at the end of the
 history list when you submit it.
index 0431e84b5b6e2c832bf65cfc72685022d44a0a95..b3f83252657ed7fa7c67a53669590a9fda1afe04 100644 (file)
@@ -1306,7 +1306,7 @@ char mode.
 
 @table @kbd
 @item C-c C-c
-Send a literal @key{C-c} to the sub-shell.
+Send a literal @kbd{C-c} to the sub-shell.
 
 @item C-c @var{char}
 This is equivalent to @kbd{C-x @var{char}} in normal Emacs.  For
index 329175409bf08ef71dbc15d6ffc1bf1a146f4fde..ff7bed03ea1e646ef54b1032c757a72dfd1a7185 100644 (file)
@@ -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
index 11b916ab0447f51fb59b14087dbc26a41777fdf6..9bc5ade81a29656dda98e6caee70ba380f0ccddf 100644 (file)
@@ -1293,7 +1293,7 @@ executed.
 
 @kindex S-TAB @r{(Org Mode)}
 @findex org-shifttab
-  Typing @key{S-TAB} (@code{org-shifttab}) anywhere in an Org mode
+  Typing @kbd{S-@key{TAB}} (@code{org-shifttab}) anywhere in an Org mode
 buffer cycles the visibility of the entire outline structure, between
 (i) showing only top-level heading lines, (ii) showing all heading
 lines but no body lines, and (iii) showing everything.