[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: global-bind a function key

From: Drew Adams
Subject: RE: global-bind a function key
Date: Wed, 20 Feb 2013 07:00:38 -0800

>       (global-set-key [f5] 'convert-include-type)
> pressing the F5 key produces the message "<SunOpen> is undefined",

Others have explained the problem: Emacs does not see <f5> when you press that
key.  It sees <SunOpen>.

Does this help?

(global-set-key (kbd "<SunOpen>") 'convert-include-type)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]