[Top][All Lists]

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

Re: global-bind a function key

From: Stefan Monnier
Subject: Re: global-bind a function key
Date: Wed, 20 Feb 2013 10:52:31 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> If I evaluate the above lisp expression I get no errors, but pressing the 
> F5 key produces the message "<SunOpen> is undefined", which is apparently 
> the default keybinding for F5.  

No, what it means is that your F5 key does not generate an `f5' event
but a `SunOpen' event instead.
Maybe you want

   (define-key function-key-map [SunOpen] [f5])

-- Stefan

reply via email to

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