17 Nov
2011
17 Nov
'11
4:11 p.m.
On Thu, Nov 17, 2011 at 04:16:51PM +0100, Nikolai Weibull wrote:
Ah, might the problem be that I use, for example,
(define-key evil-insert-state-local-map "e" 'ruby-electric-end-character)
in my ruby-mode-hook? So when magit reverts a ruby buffer, ruby-mode-hook is run, the define-key above is run, but then evil-local-mode is in the wrong state and is turned off instead of on or something?
That would be surprising as the state's behavior has nothing to do with the keymaps. The keymaps are just for the user as usual Emacs keymaps are. Frank