[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help emacs-w3m key binding with F21 and F22
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Tue, 15 Nov 2005 07:21:03 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 08433
- References: <87fypztadd.fsf@gmail.com>
>>>>> In [emacs-w3m : No.08432] Jue Kong wrote:
> I want to bind the key F21 (Navigate backward) and F22 (Navigate
> forward) to emacs-w3m with the code bellow:
> (defun w3m-add-keys ()
> (define-key w3m-mode-map <f21> 'w3m-view-previous-page)
> (define-key w3m-mode-map <f22> 'w3m-view-next-page))
> (add-hook 'w3m-mode-hook 'w3m-add-keys)
> but generate error:
> symbol's function definition is void: <f21>
> can you give me some suggestion? thanks.
[f21] and [f22] seem to be able to be used instead. I cannot
verify this since there aren't such keys in my keyboard, though.