[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Best practice for overriding keybinding of a minor mode?
From: |
Andreas Politz |
Subject: |
Re: Best practice for overriding keybinding of a minor mode? |
Date: |
Wed, 30 Sep 2009 23:42:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
jpkotta <jpkotta@gmail.com> writes:
> On Sep 28, 4:54 pm, Samuel Wales <samolog...@gmail.com> wrote:
>> local-unset-key
>>
>> --
>> Myalgic encephalomyelitis causes death (Jason et al. 2006)
>> and severe suffering. Conflicts of interest are destroying
>> research. What people "know" is wrong. Silence =
>> death.http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
[...]
> After reading the manual, it seems like there is
> no way to recover a remapped command. Is this true or am I
> overlooking something? Is ido being heavy-handed here, and should not
> be using remap?
>
(define-key keymap [remap command-name] nil)
or
(define-key keymap [remap command-name] command-name)
Both seem to do the trick.
-ap
> Thanks,
>
> jpkotta