Difference between revisions of "Template:Keys"

From WikEmacs
Jump to: navigation, search
m (category)
(testing keys with tooltip)
Line 1: Line 1:
<includeonly>'''[{{{1}}}]'''</includeonly><noinclude>
+
<includeonly><span title="{{{2|C-h k {{{1}}} for more}}}" style="border-bottom:1px dotted">'''[{{{1}}}]'''</span>
 +
</includeonly><noinclude>
  
 
== Usage ==
 
== Usage ==
Show a key sequence.  
+
Show a key sequence, with an optional tool tip for the associated command or function.
 +
 
 
<pre>{{Keys|C-x C-x}}</pre> will be rendered as: {{Keys|C-x C-x}}
 
<pre>{{Keys|C-x C-x}}</pre> will be rendered as: {{Keys|C-x C-x}}
 +
 +
<pre>{{Keys|C-x C-x|exchange-point-and-mark}}</pre> will be rendered as: {{Keys|C-x C-x|exchange-point-and-mark}}
 +
  
 
[[Category:Emacs Wiki Templates]]
 
[[Category:Emacs Wiki Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 09:36, 31 March 2012


Usage

Show a key sequence, with an optional tool tip for the associated command or function.

{{Keys|C-x C-x}}
will be rendered as: [C-x C-x]
{{Keys|C-x C-x|exchange-point-and-mark}}
will be rendered as: [C-x C-x]