[OS X Emacs] key remapping for a Command key?

Nathaniel Cunningham nathaniel.cunningham at gmail.com
Tue May 4 11:44:19 EDT 2010


On Tue, May 4, 2010 at 10:33 AM, <siemsen at ucar.edu> wrote:

>
> In Aquamacs 2-preview6, what is the Lisp syntax to map Command-Shift-7 to a
> function?
>
>
Either of these works for me:
(global-set-key [(\A &)] 'myfunction)
(global-set-key (kbd "A-&") 'myfunction)

I'm not sure if one form is preferred over the other for any reason.

--Nathaniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20100504/a124d293/attachment.html>


More information about the MacOSX-Emacs mailing list