help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: mapping home key to top of buffer


From: Eli Zaretskii
Subject: Re: mapping home key to top of buffer
Date: Sat, 08 Mar 2003 11:18:08 +0200

> Date: Fri, 07 Mar 2003 20:46:27 -0800
> From: michael <michael@newdream.net>
> 
> I was helping a friend with his key bindings but am having trouble with 
> mapping the home key to go to the top of the buffer.
> 
> the enviornment is cygwin. my key bindings show
> 
> kp-home       home
> 
> (global-set-key "kp-home" 'home)
> 
> doesn't work obviously, though. anyone know what to put?

Try this instead:

  (define-key function-key-map [kp-home] [home])




reply via email to

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