[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disabling M-q
From: |
Yuri Khan |
Subject: |
Re: Disabling M-q |
Date: |
Thu, 16 May 2013 09:59:26 +0700 |
On Wed, May 15, 2013 at 10:31 PM, Cecil Westerhof <Cecil@decebal.nl> wrote:
> A friend asked how to disable M-q. My first thought was:
> (local-unset-key (kbd "\M-q"))
> or
> (local-set-key (kbd "M-q") nil)
You need to unset the key in the map that sets it, or override it with
another function in a higher-priority map (as you do below with the
empty string, which is not a proper function).
> But both did not work. I am now using:
> (local-set-key (kbd "M-q") "")
>
> and this works. Is this the best way, or is there a better way?
You could bind the `ignore' function discussed recently on this list.
- Disabling M-q, Cecil Westerhof, 2013/05/15
- Re: Disabling M-q,
Yuri Khan <=
- Re: Disabling M-q, B. T. Raven, 2013/05/18
- Re: Disabling M-q, Emanuel Berg, 2013/05/18
- Re: Disabling M-q, B. T. Raven, 2013/05/18
- Re: Disabling M-q, Cecil Westerhof, 2013/05/21
- RE: Disabling M-q, Drew Adams, 2013/05/21
- Re: Disabling M-q, B. T. Raven, 2013/05/21
- Message not available
- Re: Disabling M-q, Cecil Westerhof, 2013/05/21
- RE: Disabling M-q, Drew Adams, 2013/05/21
- Message not available
- Re: Disabling M-q, B. T. Raven, 2013/05/21
- RE: Disabling M-q, Drew Adams, 2013/05/22