On Thu, Nov 3, 2011 at 10:29, Nikolai Weibull <[email protected]> wrote:
On Thu, Nov 3, 2011 at 08:34, Frank Fischer <[email protected]> wrote:
On Wed, Nov 02, 2011 at 06:14:40PM +0100, Nikolai Weibull wrote:
This seems to happen when calling revert-buffer interactively as well.
You mean calling revert-buffer in an arbitrary buffer (that has nothing to do with magit)? In that case I can't reproduce the error.
Hm, well, it’s a buffer visiting a file under version control, so I guess magit might have done something to it. I’ll try to narrow it down if no one else can reproduce this.
I narrowed it down. Magit-revert-buffers calls revert-buffer as (revert-buffer t t nil), that is, it doesn’t preserve modes. Still, if I understand things correctly, calling revert-buffer interactively would result in modes not being preserved. Either way, it seems that this disables evil-local-mode.