[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mouse-wheel mode (and probably other stuff) broken due to use of glo
From: |
Colin Walters |
Subject: |
Re: mouse-wheel mode (and probably other stuff) broken due to use of global-map |
Date: |
24 Mar 2002 16:24:17 -0500 |
On Sun, 2002-03-24 at 13:26, Pavel Janík wrote:
> - (define-key (current-global-map) key 'mwheel-scroll))
> + (global-set-key key 'mwheel-scroll))
> ((eq (lookup-key (current-global-map) key) 'mwheel-scroll)
> - (define-key (current-global-map) key nil))))
> + (global-unset-key key))))
Seems to work for me.