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
pgpFhpitWSfNs.pgp
Description: PGP signature
_______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
