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

Re: Middle clock to close a tab



(defadvice w3m-tab-make-keymap(after advice activate)
 (define-key w3m-tab-map [header-line mouse-2] 'w3m-delete-buffer))

On 31 Dec'06 23:18, Leo wrote:

> * Kin Cho (2006-12-31 14:22 -0800) said:
>   ^^^^^^^
> > Try this:
> >
> > (define-key w3m-tab-map [header-line mouse-2] 'w3m-delete-buffer)
> >
> > -kin
> 
> No luck.
> 
> w3m-tab-map is defined but has a value of NIL.
> 
> >
> > On 31 Dec'06 18:39, Leo wrote:
> >
> >> Dear developers,
> >> 
> >> I have get used to middle click close a tab from Firefox. Now I try to
> >> use emacs-w3m as my main browser. I am wondering how can I customize
> >> emacs-w3m to achieve a similar functionality.
> >> 
> >> Thank you in advance.
> 
> -- 
> Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)