[Top][All Lists]

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

Re: F2

From: PJ Weisberg
Subject: Re: F2
Date: Mon, 28 Feb 2011 22:49:33 -0800

On 2/28/11, TheFlyingDutchman <address@hidden> wrote:
> I was using
> (global-set-key (kbd "<f2>") 'my-elisp-command)
> I don't know if that works differently than define-key.

For the record,

(global-set-key (kbd "<f2>") (lambda() (interactive) (message "Hello, world!")))

works perfectly well over here (Emacs 23.2.1 via Debian).


reply via email to

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