Thank you, Michael!

On Tue, Oct 11, 2011 at 8:52 PM, Michael Markert <markert.michael@googlemail.com> wrote:
On 11 Oct 2011, Michael Markert wrote:

> On 11 Oct 2011, Natan Yellin wrote:
>
>> What is the difference between these two lines?
>>
>> (define-key evil-normal-state-map ",b" 'ido-switch-buffer)
>> (evil-define-key 'normal ",b" 'ido-switch-buffer)
>
> ...
> So the second in a correct form would be along
>
> (evil-define-key 'normal 'org-mode-map ",b" 'ido-switch-buffer)

Well almost. This one is correct (keymap mustn't be a symbol, but the keymap):

    (evil-define-key 'normal org-mode-map ",b" 'ido-switch-buffer)

Sorry.

Michael