[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mode-local key binding of S-drag-mouse-1
From: |
Roland Winkler |
Subject: |
Re: mode-local key binding of S-drag-mouse-1 |
Date: |
Wed, 12 Oct 2011 09:01:55 -0500 |
On Wed Oct 12 2011 Stefan Monnier wrote:
> > But then what can I do to suppress the binding of S-drag-mouse-1?
> > Even if I try to unbind S-down-mouse-1 locally, this has no effect
> > because emacs will then look into the global keymap where it still
> > finds the global binding of S-down-mouse-1 (which I'd like to keep).
>
> I think you can bind S-down-mouse-1 to `ignore'.
Thanks a lot! Maybe this should be mentioned in the elisp manual as
a useful alternative to locally unbinding a key.
Roland