Difference between revisions of "Template:CommandKeys"

From WikEmacs
Jump to navigation Jump to search
(usage)
m
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Usage: Show a key sequence and the corresponding command.
+
== Usage ==
 +
Show a key sequence and the corresponding command.
 
<pre>{{CommandKeys|C-x f|find-file}}</pre> will be rendered as: {{CommandKeys|C-x f|find-file}}
 
<pre>{{CommandKeys|C-x f|find-file}}</pre> will be rendered as: {{CommandKeys|C-x f|find-file}}
 
</noinclude>
 
</noinclude>
{{Keys|{{{1}}}}} (or {{Command|{{{2}}}}})
+
<includeonly>{{Keys|{{{1}}}}} (or {{Command|{{{2}}}}})</includeonly>

Revision as of 20:49, 28 March 2012

Usage

Show a key sequence and the corresponding command.

{{CommandKeys|C-x f|find-file}}

will be rendered as:

[C-x f] (or M-x find-file)