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

Re: Middle clock to close a tab



* Kin Cho (2006-12-31 16:27 -0800) said:
  ^^^^^^^
> (defadvice w3m-tab-make-keymap(after advice activate)
>  (define-key w3m-tab-map [header-line mouse-2] 'w3m-delete-buffer))

Partially working in that it closes current tab even when middle click
on the other background tabs. The correct action should be to close
the tab where middle click takes place.

>
> 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.
>> 

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)